Metodo Create

Creates an index on the instance of SQL Server as defined by the Index object.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Create
'Utilizzo
Dim instance As Index

instance.Create()
public void Create()
public:
virtual void Create() sealed
abstract Create : unit -> unit 
override Create : unit -> unit 
public final function Create()

Implementa

ICreatable. . :: . .Create() () () ()

Esempi

Nota

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

Creazione, modifica e rimozione di indici