Enable 메서드
Enables the index.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
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
)
매개 변수
- action
형식: Microsoft.SqlServer.Management.Smo. . :: . .IndexEnableAction
An IndexEnableAction object value that specifies the action to take when enabling the index.
주의
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.