共用方式為


Create 方法

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

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

語法

'宣告
Public Sub Create
'用途
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()

實作

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

範例

[!附註]

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

建立、改變和移除索引