Service Publication in Active Directory |
The Services container is an immediate child of the Configuration container. If your service-related objects are direct instances of the serviceConnectionPoint class, locate published services using ADSI to search for any object where objectCategory is equal to serviceConnectionPoint and objectClass is equal to serviceConnectionPoint. The keywords attribute contains the vendor-specific and application-specific GUID. To fill in the object category, query using objectCategory rather than ObjectClass.
If your service-related objects are instances of a class derived from serviceConnectionPoint, then use ADSI to search for any object where objectCategory is equal to serviceConnectionPoint or objectClass is equal to your service connection point.
Note
Searching by object category is recommended because categories are indexed, making searches faster than searches on non-indexed values. However, objectClass is not indexed.
For binding, clients need to use the information stored in the serviceBindingInformation attribute and, potentially, the serviceDNSName and serviceDNSNameType attributes.