共用方式為


ISfcRenamable.ScriptRename 方法

此方法僅供內部使用。

命名空間:  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
包含指令碼的 ISfcScript 物件。

實作

ISfcRenamable. . :: . .ScriptRename(SfcKey)

備註

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