PrincipalContext.Container Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value specified in the container parameter in the constructor.
public:
property System::String ^ Container { System::String ^ get(); };
public string Container { get; }
member this.Container : string
Public ReadOnly Property Container As String
Property Value
The container on the store to use as the root of the context or null
if the container is not specified.
Remarks
All queries are performed under this root, and all inserts are performed into this container. For Domain and ApplicationDirectory context types, this property is the distinguished name of a container object. For Machine context types, this property must be null
.