Udostępnij za pośrednictwem


DbSyncColumnDescription.Size Property

Gets or sets the size of the column.

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

Syntax

'Declaration
<XmlAttributeAttribute("size")> _
Public Property Size As String
'Usage
Dim instance As DbSyncColumnDescription
Dim value As String

value = instance.Size

instance.Size = value
[XmlAttributeAttribute("size")] 
public string Size { get; set; }
[XmlAttributeAttribute(L"size")] 
public:
property String^ Size {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Size ()

/** @property */
public void set_Size (String value)
public function get Size () : String

public function set Size (value : String)

Property Value

The size of the column if it is specified; otherwise null reference (Nothing in Visual Basic).

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