NamedSmoObject.ScriptRename Method

This method supports the Microsoft SQL Server Management Objects infrastructure and is not intended to be used directly from your code.

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Protected Overridable Sub ScriptRename ( _
    renameQuery As StringCollection, _
    so As ScriptingOptions, _
    newName As String _
)
protected virtual void ScriptRename (
    StringCollection renameQuery,
    ScriptingOptions so,
    string newName
)
protected:
virtual void ScriptRename (
    StringCollection^ renameQuery, 
    ScriptingOptions^ so, 
    String^ newName
)
protected void ScriptRename (
    StringCollection renameQuery, 
    ScriptingOptions so, 
    String newName
)
protected function ScriptRename (
    renameQuery : StringCollection, 
    so : ScriptingOptions, 
    newName : String
)

Paramètres

  • renameQuery
  • so
  • newName

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

NamedSmoObject Class
NamedSmoObject Members
Microsoft.SqlServer.Management.Smo Namespace