共用方式為


SystemDataType.MaximumLength 屬性

Gets the maximum length of the system data type.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property MaximumLength As Integer 
    Get
'用途
Dim instance As SystemDataType 
Dim value As Integer 

value = instance.MaximumLength
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public int MaximumLength { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property int MaximumLength {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member MaximumLength : int
function get MaximumLength () : int

屬性值

型別:System.Int32
An Int32 value that specifies the maximum length of the system data type.

範例

使用資料類型

請參閱

參考

SystemDataType 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

資料類型 (Database Engine)