Méthode Policy.ISfcRenamable.ScriptRename
Renames a script in the policy.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
Private Function ScriptRename ( _
key As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'Utilisation
Dim instance As Policy
Dim key As SfcKey
Dim returnValue As ISfcScript
returnValue = CType(instance, ISfcRenamable).ScriptRename(key)
ISfcScript ISfcRenamable.ScriptRename(
SfcKey key
)
private:
virtual ISfcScript^ ScriptRename(
SfcKey^ key
) sealed = ISfcRenamable::ScriptRename
private abstract ScriptRename :
key:SfcKey -> ISfcScript
private override ScriptRename :
key:SfcKey -> ISfcScript
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- key
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
A SfcKey object that identifies the script to rename.
Valeur de retour
Type : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
An ISfcScript object representing the renamed script.
Implémente
ISfcRenamable.ScriptRename(SfcKey)