SyncColumnMappingCollection.Add Method (String, String)
Adds a SyncColumnMapping object to the end of the collection when given a server column name and a client column name.
Namespace: Microsoft.Synchronization.Data.Server
Assembly: Microsoft.Synchronization.Data.Server (in microsoft.synchronization.data.server.dll)
Syntax
'Declaration
Public Function Add ( _
serverColumn As String, _
clientColumn As String _
) As SyncColumnMapping
'Usage
Dim instance As SyncColumnMappingCollection
Dim serverColumn As String
Dim clientColumn As String
Dim returnValue As SyncColumnMapping
returnValue = instance.Add(serverColumn, clientColumn)
public SyncColumnMapping Add (
string serverColumn,
string clientColumn
)
public:
SyncColumnMapping^ Add (
String^ serverColumn,
String^ clientColumn
)
public SyncColumnMapping Add (
String serverColumn,
String clientColumn
)
public function Add (
serverColumn : String,
clientColumn : String
) : SyncColumnMapping
Parameters
- serverColumn
The name of the column at the server to add to the SyncColumnMappingCollection.
- clientColumn
The name of the column at the client to add to the SyncColumnMappingCollection.
Return Value
A SyncColumnMapping object that represents the mapping between the columns specified in serverColumn and clientColumn.
See Also
Reference
SyncColumnMappingCollection Class
SyncColumnMappingCollection Members
Microsoft.Synchronization.Data.Server Namespace