Aracılığıyla paylaş


Index.Recreate Method

Re-creates the index.

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

Syntax

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

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

Remarks

This method is equivalent to the Transact-SQL statement CREATE...WITH DROP EXISTING.

Examples

Creating, Altering, and Removing Indexes

See Also

Reference

Index Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Indexes

ALTER INDEX (Transact-SQL)

DBCC DBREINDEX (Transact-SQL)