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.