Index.Rename 方法
Renames the index.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Rename ( _
newname As String _
)
用法
Dim instance As Index
Dim newname As String
instance.Rename(newname)
public void Rename(
string newname
)
public:
virtual void Rename(
String^ newname
) sealed
abstract Rename :
newname:string -> unit
override Rename :
newname:string -> unit
public final function Rename(
newname : String
)
参数
- newname
类型:System.String
A String value that specifies the new name of the index.
实现
注释
注意 |
---|
Indexes based on the UserDefinedTableType object cannot be modified and running this method will generate an exception. |
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间