Condividi tramite


Metodo EnvironmentVariable.ISfcRenamable.ScriptRename

Renames the current environment variable script with a new key.

Spazio dei nomi  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Sintassi

'Dichiarazione
Private Function ScriptRename ( _
    newKey As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'Utilizzo
Dim instance As EnvironmentVariable 
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Parametri

Valore restituito

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The renamed environment variable script.

Implementa

ISfcRenamable.ScriptRename(SfcKey)

Vedere anche

Riferimento

EnvironmentVariable Classe

Spazio dei nomi Microsoft.SqlServer.Management.IntegrationServices