Share via


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

適用於