共用方式為


IsVarDecimalStorageFormatEnabled 屬性

取得或設定屬性值,這個值會指定是否啟用 VarDecimal 儲存。

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property IsVarDecimalStorageFormatEnabled As Boolean
    Get
    Set
'用途
Dim instance As Database
Dim value As Boolean

value = instance.IsVarDecimalStorageFormatEnabled

instance.IsVarDecimalStorageFormatEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)]
public bool IsVarDecimalStorageFormatEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Deploy)]
public:
property bool IsVarDecimalStorageFormatEnabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Deploy)>]
member IsVarDecimalStorageFormatEnabled : bool with get, set
function get IsVarDecimalStorageFormatEnabled () : boolean
function set IsVarDecimalStorageFormatEnabled (value : boolean)

屬性值

型別:System. . :: . .Boolean
Boolean 值,這個值會指定是否啟用 VarDecimal 儲存格式。

備註

VarDecimal storage format cannot be disabled while any tables in the database are using it.