This document is archived and information here might be outdated. Recommended version. |
Indicates if a selection will be used when checking out a dataset.
[Visual Basic .NET]
Public Function get_TableUsesSelection ( _
ByVal Index As Integer _
) As Boolean
[C#]
public bool get_TableUsesSelection (
int Index
);
[C++]
HRESULT get_TableUsesSelection(
long Index,
Boolean* useSelection
);
[C++] Parameters Index [in]
Index is a parameter of type long useSelection [out, retval]
useSelection is a parameter of type bool*
A selection can be applied to a specific dataset during a check out or an extraction using the IReplicaFilterDescriptionEdit::TableSelection property. If IReplicaFilterDescriptionEdit::TableSelection is set, the selection is applied by default. The selection can be ignored by setting IReplicaFilterDescriptionEdit::TableUsesSelection to false.
This property returns false if the selection is set to be ignored during check out or extract. The IReplicaDescription::FindTable method can be used to return the index of a specific dataset. The IReplicaDescription::TableName and IReplicaDescription::TableNameCount properties can be used to cycle through all checked out datasets.