Share via


Database.IsVarDecimalStorageFormatEnabled Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property IsVarDecimalStorageFormatEnabled As Boolean
    Get
    Set
'Usage
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)

Property Value

Type: System.Boolean
A Boolean value that specifies whether VarDecimal storage format is enabled.

Remarks

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