ISfcRenamable.Rename 方法
将此对象重命名为指定的键并更新该存储。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Collector
程序集: Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)
语法
声明
Private Sub Rename ( _
newKey As SfcKey _
) Implements ISfcRenamable.Rename
用法
Dim instance As CollectionSet
Dim newKey As SfcKey
CType(instance, ISfcRenamable).Rename(newKey)
void ISfcRenamable.Rename(
SfcKey newKey
)
private:
virtual void Rename(
SfcKey^ newKey
) sealed = ISfcRenamable::Rename
private abstract Rename :
newKey:SfcKey -> unit
private override Rename :
newKey:SfcKey -> unit
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- newKey
类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
包含新名称的 SfcKey 对象。