Share via


SyncSchemaColumn.MaxLength Property

Gets or sets the maximum length of a text column.

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

Syntax

'Declaration
Public Property MaxLength As Integer
'Usage
Dim instance As SyncSchemaColumn
Dim value As Integer

value = instance.MaxLength

instance.MaxLength = value
public int MaxLength { get; set; }
public:
property int MaxLength {
    int get ();
    void set (int value);
}
/** @property */
public int get_MaxLength ()

/** @property */
public void set_MaxLength (int value)
public function get MaxLength () : int

public function set MaxLength (value : int)

Property Value

The maximum length of the text column if it is set; otherwise, -1.

See Also

Reference

SyncSchemaColumn Class
SyncSchemaColumn Members
Microsoft.Synchronization.Data Namespace