Index.IsDisabled Property
Gets or sets the Boolean property value that specifies whether the index is disabled.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property IsDisabled As Boolean
[SfcPropertyAttribute]
public bool IsDisabled { get; }
[SfcPropertyAttribute]
public:
property bool IsDisabled {
bool get ();
}
/** @property */
public boolean get_IsDisabled ()
public function get IsDisabled () : boolean
Property Value
A Boolean value that specifies whether the index is disabled. If True, the index is disabled. Otherwise, False (default).
Remarks
Uwaga
For indexes based on the UserDefinedTableType object the value of IsDisabled is provided by sys.indexes and the value of IsDisabled property is ignored.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also