Share via


DbSyncColumnDescription.Type Property

Gets or sets the data type of the column.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase")> _
<XmlAttributeAttribute("type")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")> _
Public Property Type As String
'Usage
Dim instance As DbSyncColumnDescription
Dim value As String

value = instance.Type

instance.Type = value
[SuppressMessageAttribute("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase")] 
[XmlAttributeAttribute("type")] 
[SuppressMessageAttribute("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")] 
public string Type { get; set; }
[SuppressMessageAttribute(L"Microsoft.Globalization", L"CA1308:NormalizeStringsToUppercase")] 
[XmlAttributeAttribute(L"type")] 
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1721:PropertyNamesShouldNotMatchGetMethods")] 
public:
property String^ Type {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Type ()

/** @property */
public void set_Type (String value)
public function get Type () : String

public function set Type (value : String)

Property Value

The data type of the column.

Remarks

The properties Type and Size are used together to specify variable-length data types. For example, in SQL Server a column of type varchar(256) is represented by setting Type = "varchar" and Size = "256".

See Also

Reference

DbSyncColumnDescription Class
DbSyncColumnDescription Members
Microsoft.Synchronization.Data Namespace