Compartir a través de


OriginatingServer Propiedad

Gets the name of the server that is acting as the master server in a multiserver job.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public ReadOnly Property OriginatingServer As String
    Get
'Uso
Dim instance As Job
Dim value As String

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

Valor de la propiedad

Tipo: System. . :: . .String
A String value that specifies the name of the master server where the job definition originates from.

Notas

The property returns the string (local) for jobs created on the referenced instance of Microsoft SQL Server. For jobs assigned to the referenced instance of SQL Server by another server acting as a master server, the property returns the master server name.