Compartilhar via


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
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

  • 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.

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