DirectoryServiceNamingContext Constructor (String, String, Boolean, Guid, List<String>, List<String>, List<String>, Boolean, Boolean)
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Sub New ( _
distinguishedName As String, _
domainName As String, _
isDomain As Boolean, _
objectId As Guid, _
containersIncluded As List(Of String), _
containersExcluded As List(Of String), _
preferredDomainControllers As List(Of String), _
useOnlyPreferredDomainControllers As Boolean, _
isConfigurationNamingContext As Boolean _
)
'Usage
Dim distinguishedName As String
Dim domainName As String
Dim isDomain As Boolean
Dim objectId As Guid
Dim containersIncluded As List(Of String)
Dim containersExcluded As List(Of String)
Dim preferredDomainControllers As List(Of String)
Dim useOnlyPreferredDomainControllers As Boolean
Dim isConfigurationNamingContext As Boolean
Dim instance As New DirectoryServiceNamingContext(distinguishedName, _
domainName, isDomain, objectId, containersIncluded, _
containersExcluded, preferredDomainControllers, _
useOnlyPreferredDomainControllers, _
isConfigurationNamingContext)
public DirectoryServiceNamingContext(
string distinguishedName,
string domainName,
bool isDomain,
Guid objectId,
List<string> containersIncluded,
List<string> containersExcluded,
List<string> preferredDomainControllers,
bool useOnlyPreferredDomainControllers,
bool isConfigurationNamingContext
)
Parameters
- distinguishedName
Type: System.String
- domainName
Type: System.String
- isDomain
Type: System.Boolean
- objectId
Type: System.Guid
- containersIncluded
Type: System.Collections.Generic.List<String>
- containersExcluded
Type: System.Collections.Generic.List<String>
- preferredDomainControllers
Type: System.Collections.Generic.List<String>
- useOnlyPreferredDomainControllers
Type: System.Boolean
- isConfigurationNamingContext
Type: System.Boolean
See Also
Reference
DirectoryServiceNamingContext Class
DirectoryServiceNamingContext Members