DirectoryServiceConnection Class
Defines Active Directory and Lightweight Directory Access Protocol (LDAP) connections.
Inheritance Hierarchy
System.Object
Microsoft.Office.Server.UserProfiles.Connection
Microsoft.Office.Server.UserProfiles.DirectoryServiceConnection
Microsoft.Office.Server.UserProfiles.ActiveDirectoryConnection
Microsoft.Office.Server.UserProfiles.LdapDirectoryConnection
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public MustInherit Class DirectoryServiceConnection _
Inherits Connection
'Usage
Dim instance As DirectoryServiceConnection
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public abstract class DirectoryServiceConnection : Connection
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.