共用方式為


ServerDisplayName 屬性

Gets the display 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 ServerDisplayName As String
    Get
'用途
Dim instance As IResultInfo
Dim value As String

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

屬性值

型別:System. . :: . .String
A String that contains the display name of the server.