OriginatingServer Property (SQL-DMO)

The OriginatingServer property identifies the Microsoft® SQL Server™ installation assigning the referenced job.

Applies To

Job Object

Syntax

object.OriginatingServer

Part Description
object Expression that evaluates to an object in the Applies To list

Remarks

The property returns (local) for jobs created on the referenced SQL Server installation. For jobs assigned to the referenced SQL Server  installation by another server acting as an MSX, the property returns the MSX server name.

Data Type

String

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetOriginatingServer(SQLDMO_LPBSTR pRetVal);


Note SQL-DMO strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference by using SysFreeString.


  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.