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)
Syntax
'Declaration
Public Function IndexOfServerColumn ( _
serverColumn As String _
) As Integer
public int IndexOfServerColumn (
string serverColumn
)
public:
int IndexOfServerColumn (
String^ serverColumn
)
public int IndexOfServerColumn (
String serverColumn
)
public function IndexOfServerColumn (
serverColumn : String
) : int
Parameters
- serverColumn
The name of the column at the server for which to get the index in the SyncColumnMappingCollection.
Return Value
The index position of serverColumn if that string is found. Returns -1 if the string is not found.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).
Target Platforms
See Also
Reference
SyncColumnMappingCollection Class
SyncColumnMappingCollection Members
Microsoft.Synchronization.Data.Server Namespace