Index 构造函数 (SqlSmoObject, String)
Initializes a new instance of the Index class on the specified parent object and with the specified name.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
parent As SqlSmoObject, _
name As String _
)
用法
Dim parent As SqlSmoObject
Dim name As String
Dim instance As New Index(parent, _
name)
public Index(
SqlSmoObject parent,
string name
)
public:
Index(
SqlSmoObject^ parent,
String^ name
)
new :
parent:SqlSmoObject *
name:string -> Index
public function Index(
parent : SqlSmoObject,
name : String
)
参数
- parent
类型:Microsoft.SqlServer.Management.Smo.SqlSmoObject
An SqlSmoObject that specifies the parent of the Index object.
- name
类型:System.String
A String that specifies the name of the index.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间