DbSyncColumnMappingCollection.Add Method (String, String)
Adds a DbSyncColumnMapping object that has the specified local and remote column names to the end of the collection.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Function Add ( _
localColumn As String, _
remoteColumn As String _
) As DbSyncColumnMapping
'Usage
Dim instance As DbSyncColumnMappingCollection
Dim localColumn As String
Dim remoteColumn As String
Dim returnValue As DbSyncColumnMapping
returnValue = instance.Add(localColumn, _
remoteColumn)
public DbSyncColumnMapping Add(
string localColumn,
string remoteColumn
)
public:
DbSyncColumnMapping^ Add(
String^ localColumn,
String^ remoteColumn
)
member Add :
localColumn:string *
remoteColumn:string -> DbSyncColumnMapping
public function Add(
localColumn : String,
remoteColumn : String
) : DbSyncColumnMapping
Parameters
- localColumn
Type: System.String
The name of the column in the local database.
- remoteColumn
Type: System.String
The name of the column in the remote database.
Return Value
Type: Microsoft.Synchronization.Data.DbSyncColumnMapping
A DbSyncColumnMapping object that has the specified column names.