Partager via


MsxServerName propriété

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property MsxServerName As String
    Get
'Utilisation
Dim instance As JobServer
Dim value As String

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

Valeur de la propriété

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

Notes

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.