取得或設定文字資料行的最大長度。
命名空間: Microsoft.Synchronization.Data
組件: Microsoft.Synchronization.Data (在 microsoft.synchronization.data.dll)
語法
'宣告
Public Property MaxLength As Integer
'用途
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)
屬性值
此文字資料行的最大長度 (如果有設定的話),否則為 -1。
請參閱
參考
SyncSchemaColumn 類別
SyncSchemaColumn 成員
Microsoft.Synchronization.Data 命名空間