다음을 통해 공유


GetDBName 메서드

개체에 연결된 데이터베이스 이름을 가져옵니다.

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

구문

‘선언
Protected Friend Overridable Function GetDBName As String
‘사용 방법
Dim returnValue As String

returnValue = Me.GetDBName()
protected internal virtual string GetDBName()
protected public:
virtual String^ GetDBName()
abstract GetDBName : unit -> string 
override GetDBName : unit -> string 
 function GetDBName() : String

반환 값

유형: System. . :: . .String
개체의 이름을 지정하는 String 값입니다.