Partager via


Rename méthode

Renames a database file.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Rename ( _
    newname As String _
)
'Utilisation
Dim instance As DatabaseFile
Dim newname As String

instance.Rename(newname)
public void Rename(
    string newname
)
public:
virtual void Rename(
    String^ newname
) sealed
abstract Rename : 
        newname:string -> unit 
override Rename : 
        newname:string -> unit 
public final function Rename(
    newname : String
)

Paramètres

Implémente

IRenamable. . :: . .Rename(String)