다음을 통해 공유


Enable 메서드

Enables the index.

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

구문

‘선언
Public Sub Enable ( _
    action As IndexEnableAction _
)
‘사용 방법
Dim instance As Index
Dim action As IndexEnableAction

instance.Enable(action)
public void Enable(
    IndexEnableAction action
)
public:
void Enable(
    IndexEnableAction action
)
member Enable : 
        action:IndexEnableAction -> unit 
public function Enable(
    action : IndexEnableAction
)

매개 변수

주의

The action parameter is used to specify actions such as rebuild or re-create the index.

[!참고]

Indexes based on the UserDefinedTableType object cannot be modified and running this method will generate an exception.