4 instantiations of ApplicationPartition
System.DirectoryServices (4)
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (2)
152
return new
ApplicationPartition
(context, distinguishedName, context.Name, ApplicationPartitionType.ADApplicationPartition, directoryEntryMgr);
342
partition = new
ApplicationPartition
(appNCContext, (string)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.NCName)!, appNCDnsName, appType, directoryEntryMgr);
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (1)
713
appNCs.Add(new
ApplicationPartition
(appNCContext, nCName, null, ApplicationPartitionType.ADAMApplicationPartition, new DirectoryEntryManager(appNCContext)));
System\DirectoryServices\ActiveDirectory\Forest.cs (1)
972
appNCs.Add(new
ApplicationPartition
(appNCContext, nCName, (string)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.DnsRoot)!, ApplicationPartitionType.ADApplicationPartition, new DirectoryEntryManager(appNCContext)));
18 references to ApplicationPartition
System.DirectoryServices (18)
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (9)
107
public static
ApplicationPartition
GetApplicationPartition(DirectoryContext context)
121
throw new ActiveDirectoryObjectNotFoundException(SR.NDNCNotFound, typeof(
ApplicationPartition
), context.Name);
144
throw new ActiveDirectoryObjectNotFoundException(SR.NDNCNotFound, typeof(
ApplicationPartition
), context.Name);
155
public static
ApplicationPartition
FindByName(DirectoryContext context, string distinguishedName)
157
ApplicationPartition
? partition = null;
247
throw new ActiveDirectoryObjectNotFoundException(SR.AppNCNotFound, typeof(
ApplicationPartition
), distinguishedName);
262
throw new ActiveDirectoryObjectNotFoundException(SR.AppNCNotFound, typeof(
ApplicationPartition
), distinguishedName);
307
throw new ActiveDirectoryObjectNotFoundException(SR.AppNCNotFound, typeof(
ApplicationPartition
), distinguishedName);
324
throw new ActiveDirectoryObjectNotFoundException(SR.AppNCNotFound, typeof(
ApplicationPartition
), distinguishedName);
System\DirectoryServices\ActiveDirectory\ApplicationPartitionCollection.cs (9)
20
public
ApplicationPartition
this[int index] => (
ApplicationPartition
)InnerList[index]!;
22
public bool Contains(
ApplicationPartition
applicationPartition)
28
ApplicationPartition
tmp = (
ApplicationPartition
)InnerList[i]!;
37
public int IndexOf(
ApplicationPartition
applicationPartition)
43
ApplicationPartition
tmp = (
ApplicationPartition
)InnerList[i]!;
52
public void CopyTo(
ApplicationPartition
[] applicationPartitions, int index)