Export (0) Print
Expand All

DatabaseFile.Rename Method

Renames a database file.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Rename(
	string newname
)

Parameters

newname
Type: String
A String value that specifies the new name of the database file.

Implements

IRenamable.Rename(String)

Community Additions

ADD
Show:
© 2015 Microsoft