Share via


ISfcRenamable.ScriptRename Method

Produces the script to rename this object to the specified key. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function ScriptRename ( _
    newKey As SfcKey _
) As ISfcScript
'Usage
Dim instance As ISfcRenamable
Dim newKey As SfcKey
Dim returnValue As ISfcScript

returnValue = instance.ScriptRename(newKey)
ISfcScript ScriptRename(
    SfcKey newKey
)
ISfcScript^ ScriptRename(
    SfcKey^ newKey
)
abstract ScriptRename : 
        newKey:SfcKey -> ISfcScript 
function ScriptRename(
    newKey : SfcKey
) : ISfcScript

Parameters

Return Value

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