Microsoft SDK for Java

getDataMember

The getDataMember and setDataMember methods of the Recordset class determine or set which object specified by setDataSource will be represented as a Recordset object, respectively. getDataMember has the following signatures:

getDataMember()
getDataMember(String s, com.ms.com._Guid guid)
setDataMember(String pbstrDataMember)

getDataMember()

Determines which object specified by setDataSource will be represented as a Recordset object.

Syntax

public String getDataMember();
public void setDataMember(String pbstrDataMember);

Return Value

Returns a string value. The name is not case-sensitive.

Remarks

The getDataMember and getDataSource methods must be used in conjunction with each other.

getDataMember(String s, com.ms.com._Guid guid)

Determines which object specified by setDataSource will be represented as a Recordset object.

Syntax

public com.ms.com.IUnknown getDataMember(String s, com.ms.com._Guid guid);

Return Value

Returns a data member identifier.

Parameters

s A string.
guid A GUID.

setDataMember

Sets which object specified by setDataSource will be represented as a Recordset object.

Syntax

public void setDataMember(String pbstrDataMember);

Parameters

pbstrDataMember The DataSource object.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.