This documentation is archived and is not being maintained.

ContextType Enumeration

Specifies the type of store to which the principal belongs.

Namespace:  System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

'Declaration
Public Enumeration ContextType
'Usage
Dim instance As ContextType

Member nameDescription
MachineThe computer store. This represents the SAM store.
DomainThe domain store. This represents the AD DS store.
ApplicationDirectoryThe application directory store. This represents the AD LDS store.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: