Udostępnij za pośrednictwem


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
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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SyncSchemaColumn Class
SyncSchemaColumn Members
Microsoft.Synchronization.Data Namespace