Aracılığıyla paylaş


Index.Disable Method

Disables the index.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Sub Disable
'Kullanım
Dim instance As Index

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

Remarks

Not

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

Examples

Creating, Altering, and Removing Indexes

See Also

Reference

Index Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Indexes

CREATE INDEX (Transact-SQL)