CollectionItem.ISfcRenamable.ScriptRename Method

This method is for internal use only.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Private Function ScriptRename ( _
    newKey As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
A ISfcScript object that contains the script.

Implements

ISfcRenamable.ScriptRename(SfcKey)

Remarks

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