Share via


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
Public Property Size As String
    Get
    Set
'Usage
Dim instance As DbSyncColumnDescription
Dim value As String

value = instance.Size

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

Property Value

Type: System.String
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

Microsoft.Synchronization.Data Namespace