PrincipalContext.Container 属性

定义

获取构造函数中容器参数中指定的值。

public:
 property System::String ^ Container { System::String ^ get(); };
public string Container { get; }
member this.Container : string
Public ReadOnly Property Container As String

属性值

要用作上下文根目录的存储区上的容器,或者 null 未指定容器。

注解

所有查询都在此根目录下执行,所有插入都执行到此容器中。 对于 DomainApplicationDirectory 上下文类型,此属性是容器对象的可分辨名称。 对于 Machine 上下文类型,此属性必须是 null

适用于