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
'Usage
Dim instance As SyncSchemaColumns
Dim columnName As String
Dim type As Type
Dim returnValue As SyncSchemaColumn
returnValue = instance.Add(columnName, type)
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.
See Also
Reference
SyncSchemaColumns Class
SyncSchemaColumns Members
Microsoft.Synchronization.Data Namespace