MsxServerName 属性

Gets or sets the name of the master server participating in multiserver administration.

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property MsxServerName As String
    Get
用法
Dim instance As JobServer
Dim value As String

value = instance.MsxServerName
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string MsxServerName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property String^ MsxServerName {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member MsxServerName : string
function get MsxServerName () : String

属性值

类型:System. . :: . .String
A String value that specifies the name of the master server.

注释

The property only has meaning when the JobServer object references a multiserver administration, target server. For a master server, or for any server not participating in multiserver administration, the MsxServerName property value is an empty string.