PrincipalContext.Container 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得建構子容器參數中指定的值。
public:
property System::String ^ Container { System::String ^ get(); };
public string Container { get; }
member this.Container : string
Public ReadOnly Property Container As String
屬性值
儲存容器作為上下文根節點,或 null 若容器未指定,則使用。
備註
所有查詢皆在此根節點下執行,所有插入皆在此容器中執行。 對於 Domain 和 ApplicationDirectory context 類型,這個屬性就是容器物件的區別名稱。 對於 Machine 上下文類型,此性質必須為 null。