SyncColumnMappingCollection::IndexOfServerColumn Method

Searches for a SyncColumnMapping object when given a column name. Returns the zero-based index of the first occurrence within the entire collection.

Namespace:  Microsoft.Synchronization.Data.Server
Assembly:  Microsoft.Synchronization.Data.Server (in Microsoft.Synchronization.Data.Server.dll)

public:
int IndexOfServerColumn(
	String^ serverColumn
)

Parameters

serverColumn
Type: System::String
The name of the column at the server for which to get the index in the SyncColumnMappingCollection.

Return Value

Type: System::Int32
The index position of serverColumn if that string is found. Returns -1 if the string is not found.
Show: