Index.IsDisabled 속성

Gets or sets the Boolean property value that specifies whether the index is disabled.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsDisabled As Boolean 
    Get
‘사용 방법
Dim instance As Index 
Dim value As Boolean 

value = instance.IsDisabled
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool IsDisabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool IsDisabled {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member IsDisabled : bool
function get IsDisabled () : boolean

속성 값

유형: System.Boolean
A Boolean value that specifies whether the index is disabled.If True, the index is disabled. Otherwise, False (default).

주의

[!참고]

For indexes based on the UserDefinedTableType object the value of IsDisabled is provided by sys.indexes and the value of IsDisabled property is ignored.

인덱스 생성, 변경 및 제거

참고 항목

참조

Index 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

인덱스

CREATE INDEX(Transact-SQL)