Rename 메서드
Renames a database file.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub Rename ( _
newname As String _
)
‘사용 방법
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
)
매개 변수
- newname
유형: System. . :: . .String
A String value that specifies the new name of the database file.