SyncSchemaColumns.Add Method (String, Type)
Adds a SyncSchemaColumn object with the specified column name and data type to the end of the collection.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
Syntax
'Declaration
Public Function Add ( _
columnName As String, _
type As Type _
) As SyncSchemaColumn
public SyncSchemaColumn Add (
string columnName,
Type type
)
public:
SyncSchemaColumn^ Add (
String^ columnName,
Type^ type
)
public SyncSchemaColumn Add (
String columnName,
Type type
)
public function Add (
columnName : String,
type : Type
) : SyncSchemaColumn
Parameters
- columnName
The name of the column to add to the SyncSchemaColumn collection.
- type
The data type of the column to add to the SyncSchemaColumn collection.
Return Value
The SyncSchemaColumn object that was added to the collection.
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
SyncSchemaColumns Class
SyncSchemaColumns Members
Microsoft.Synchronization.Data Namespace