共用方式為


Disable 方法

Disables the index.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Disable
'用途
Dim instance As Index

instance.Disable()
public void Disable()
public:
void Disable()
member Disable : unit -> unit 
public function Disable()

備註

[!附註]

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