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.Expensive)> _
Public Property IsVarDecimalStorageFormatEnabled As Boolean
    Get
    Set
'Usage
Dim instance As Database
Dim value As Boolean

value = instance.IsVarDecimalStorageFormatEnabled

instance.IsVarDecimalStorageFormatEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public bool IsVarDecimalStorageFormatEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property bool IsVarDecimalStorageFormatEnabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
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.