InActiveDirectory Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

The InActiveDirectory property specifies whether the referenced publication is represented as an object in Microsoft Active Directory.

構文

object
.InActiveDirectory [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetInActiveDirectory(LPBOOL pRetVal);
HRESULT SetInActiveDirectory(BOOL NewValue);

解説

This property gives users a way to make a subset of publication properties available to Active Directory so that other users can find this publication using Microsoft Windows Active Directory Services on the Windows 2003 or Windows 2000 operating systems. Using Active Directory, you can search publication objects to view or retrieve properties of a Publication object. When a publication property is changed, it is reflected in Active Directory if the InActiveDirectory property is set to TRUE, and if the publication property is included in the subset of properties available to Active Directory. However, users are not advised to change publication properties directly using Active Directory. Instead, set InActiveDirectory to TRUE to make a subset of this publication's properties available to Active Directory.

ms135001.note(ja-jp,SQL.90).gifメモ :
If an application calls InActiveDirectory on an instance of Microsoft 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:

MergePublication2 Object

TransPublication2 Object