共用方式為


CollectionItem.ISfcRenamable.ScriptRename 方法

This method is for internal use only.

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

語法

'宣告
Private Function ScriptRename ( _
    newKey As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'用途
Dim instance As CollectionItem 
Dim newKey As SfcKey 
Dim returnValue As ISfcScript 

returnValue = CType(instance, ISfcRenamable).ScriptRename(newKey)
ISfcScript ISfcRenamable.ScriptRename(
    SfcKey newKey
)
private:
virtual ISfcScript^ ScriptRename(
    SfcKey^ newKey
) sealed = ISfcRenamable::ScriptRename
private abstract ScriptRename : 
        newKey:SfcKey -> ISfcScript  
private override ScriptRename : 
        newKey:SfcKey -> ISfcScript
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

參數

傳回值

型別:Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
An ISfcScript object that contains the script.

實作

ISfcRenamable.ScriptRename(SfcKey)

備註

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

請參閱

參考

CollectionItem 類別

Microsoft.SqlServer.Management.Collector 命名空間