共用方式為


Database.IsVarDecimalStorageFormatEnabled 屬性

Gets or sets a value that specifies whether VarDecimal storage is enabled.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone 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.Deploy)]
public bool IsVarDecimalStorageFormatEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone|SfcPropertyFlags::Deploy)]
public:
property bool IsVarDecimalStorageFormatEnabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy)>]
member IsVarDecimalStorageFormatEnabled : bool with get, set
function get IsVarDecimalStorageFormatEnabled () : boolean 
function set IsVarDecimalStorageFormatEnabled (value : boolean)

屬性值

型別:System.Boolean
A Boolean value that specifies whether VarDecimal storage format is enabled. True if the VarDecimal storage is enabled; otherwise, false.

備註

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

請參閱

參考

Database 類別

Microsoft.SqlServer.Management.Smo 命名空間