Méthode ISfcRenamable.ScriptRename
Produces the script to rename this object to the specified key. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Function ScriptRename ( _
newKey As SfcKey _
) As ISfcScript
'Utilisation
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
Paramètres
- newKey
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
The SfcKey object that contains the new name.
Valeur de retour
Type : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
An ISfcScript object that contains the script.