Compartilhar via


Método ScriptRename

Produces the script to rename this object to the specified key. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

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

Sintaxe

'Declaração
Function ScriptRename ( _
    newKey As SfcKey _
) As ISfcScript
'Uso
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

Parâmetros

Valor de retorno

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