DbSyncColumnDescription Constructor (String, String)
Initializes a new instance of the DbSyncColumnDescription class for a column that has the specified name and data type.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Sub New ( _
columnName As String, _
type As String _
)
'Usage
Dim columnName As String
Dim type As String
Dim instance As New DbSyncColumnDescription(columnName, _
type)
public DbSyncColumnDescription(
string columnName,
string type
)
public:
DbSyncColumnDescription(
String^ columnName,
String^ type
)
new :
columnName:string *
type:string -> DbSyncColumnDescription
public function DbSyncColumnDescription(
columnName : String,
type : String
)
Parameters
- columnName
Type: System.String
The name of the column.
- type
Type: System.String
The data type of the column.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | columnName or type is a null reference (Nothing in Visual Basic). |
ArgumentNullException | columnName or type is empty. |