Méthode CollectionItem.ISfcRenamable.ScriptRename
This method is for internal use only.
Espace de noms : Microsoft.SqlServer.Management.Collector
Assembly : Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)
Syntaxe
'Déclaration
Private Function ScriptRename ( _
newKey As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'Utilisation
Dim instance As CollectionItem
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
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.
Implémente
ISfcRenamable.ScriptRename(SfcKey)
Notes
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.