Share via


ThirdPartyOptions Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

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

구문

object
.ThirdPartyOptions [= value]

Parts

  • object
    EAn expression that evaluates to an object in the Applies To list.
  • value
    A 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

Displays a heterogeneous publication in the Replication folder in SQL Server Management Studio (default).

SQLDMOThirdPartyOption_/SuppressDisplay

1

Suppresses display of a heterogeneous publication in the Replication folder in SQL Server Management Studio.

주의

ThirdPartyOptions is set to SQLDMOThirdPartyOption_Default by default.

[!참고] 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 or later" are returned.

Applies To:

DistributionPublication2 Object