Share via


SyncSchemaColumn.ProviderDataType Property

Gets or sets the SQL Server data type of the column.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Property ProviderDataType As String
    Get
    Set
'Usage
Dim instance As SyncSchemaColumn
Dim value As String

value = instance.ProviderDataType

instance.ProviderDataType = value
public string ProviderDataType { get; set; }
public:
property String^ ProviderDataType {
    String^ get ();
    void set (String^ value);
}
member ProviderDataType : string with get, set
function get ProviderDataType () : String
function set ProviderDataType (value : String)

Property Value

Type: System.String
The SQL Server data type of the column.

Exceptions

Exception Condition
ArgumentNullException

value is a null reference (Nothing in Visual Basic).

ArgumentException

value does not represent a valid provider data type.

Remarks

For a complete list of SQL Server data types, see SQL Server Books Online.

See Also

Reference

SyncSchemaColumn Class

Microsoft.Synchronization.Data Namespace