SyncColumnMappingCollection.IndexOfClientColumn Method
Searches for a SyncColumnMapping object when given a column name, and 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 IndexOfClientColumn ( _
clientColumn As String _
) As Integer
public int IndexOfClientColumn (
string clientColumn
)
public:
int IndexOfClientColumn (
String^ clientColumn
)
public int IndexOfClientColumn (
String clientColumn
)
public function IndexOfClientColumn (
clientColumn : String
) : int
Parameters
- clientColumn
The name of the column at the client for which to get the index in the SyncColumnMappingCollection.
Return Value
The index position of clientColumn if that string is found; otherwise -1 if it is not.
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