Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DS_LDAP_Instance_Containment class

DS_LDAP_Instance_Containment is an instance class that models the container relationships in the Active Directory, and is supported by the Active Directory instance provider.

Syntax

[Provider("Microsoft|DSLDAPInstanceProvider|V1.0"), Dynamic]class DS_LDAP_Instance_Containment
{
  object REF ChildInstance;
  object REF ParentInstance;
};

Members

The DS_LDAP_Instance_Containment class has these types of members:

Properties

The DS_LDAP_Instance_Containment class has these properties.

ChildInstance
Data type: object
Access type: Read-only
Qualifiers: Key, Dynamic

Reference to the child Directory Services instance.

ParentInstance
Data type: object
Access type: Read-only
Qualifiers: Key, Dynamic

Reference to the parent Directory Services instance.

Remarks

The DS_LDAP_Instance_Containment class supports the GetObjectAsync and ExecuteQueryAsync methods.

The DS_LDAP_Instance_Containment class supports only the following forms of querying that help a client navigate the object hierarchy:

  • A query in which the child instance is specified.
    
    SELECT * FROM DS_LDAP_Instance_Containment 
    WHERE ChildInstance=<InstancePath>
    
    
  • A query in which the parent instance is specified.
    
    SELECT * FROM DS_LDAP_Instance_Containment 
    WHERE ParentInstance=<InstancePath>
    
    
  • A query in which the child instance and parent instance are specified.
    
    SELECT * FROM DS_LDAP_Instance_Containment 
    WHERE ChildInstance=<InstancePath> 
        AND ParentInstance=<InstancePath>
    
    

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Namespace

\root\directory\ldap

MOF

Dsprov.mof

DLL

Dsprov.dll

 

 

Show:
© 2014 Microsoft