SqlSmoObject.GetServerName 메서드
Gets the name of the instance of SQL Server with which the object is associated.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Protected Overridable Function GetServerName As String
‘사용 방법
Dim returnValue As String
returnValue = Me.GetServerName()
protected virtual string GetServerName()
protected:
virtual String^ GetServerName()
abstract GetServerName : unit -> string
override GetServerName : unit -> string
protected function GetServerName() : String
반환 값
유형: System.String
A String value that specifies the name of the instance of SQL Server.