ThirdPartyOptions Property

SQL-DMO

SQL-DMO

ThirdPartyOptions Property

The ThirdPartyOptions property specifies whether to suppress the display of a heterogeneous publication in the Replication folder in SQL Server Enterprise Manager.

Applies To
DistributionPublication2 Object
Syntax

object.ThirdPartyOptions [= value]

Parts

object

Expression that evaluates to an object in the Applies To list

value

Long integer that specifies a SQLDMO_THIRDPARTYOPTION_TYPE constant as described in Settings

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetThirdPartyOptions(SQLDMO_THIRDPARTYOPTION_TYPE *pRetVal);

HRESULT SetThirdPartyOptions(SQLDMO_THIRDPARTYOPTION_TYPE NewValue);

Settings

Set the ThirdPartyOptions property using these values.

Constant Value Description
SQLDMOThirdPartyOption_Default 0 Display a heterogeneous publication in the Replication folder in SQL Server Enterprise Manager (default).
SQLDMOThirdPartyOption_SuppressDisplay 1 Suppress display of a heterogeneous publication in Replication folder in SQL Server Enterprise Manager.

Remarks

ThirdPartyOptions is set to SQLDMOThirdPartyOption_Default by default.

Note  If an application calls ThirdPartyOptions on an instance of SQL Server version 7.0, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000" are returned.