編輯

共用方式為


PrincipalContext.Container Property

Definition

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.

Applies to