Propriedade do RDL JobServer.MsxServerName
Gets or sets the name of the master server participating in multiserver administration.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property MsxServerName As String
Get
'Uso
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
Valor da propriedade
Tipo: System.String
A String value that specifies the name of the master server.
Comentários
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.
Exemplos
Agendando tarefas administrativas automáticas no SQL Server Agent
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo.Agent
Outros recursos
Tarefas de administração automatizadas (SQL Server Agent)
Procedimentos armazenados do SQL Server Agent (Transact-SQL)