다음을 통해 공유


Rename 메서드

Renames a database file.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
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
)

매개 변수

구현

IRenamable. . :: . .Rename(String)