다음을 통해 공유


ServerName 속성

Gets the name of the server on which the batch was executed.

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

구문

‘선언
ReadOnly Property ServerName As String
    Get
‘사용 방법
Dim instance As IResultInfo
Dim value As String

value = instance.ServerName
string ServerName { get; }
property String^ ServerName {
    String^ get ();
}
abstract ServerName : string
function get ServerName () : String

속성 값

유형: System. . :: . .String
A String that contains the name of the server.