ModuleService.ManagementUnit 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
ManagementUnit 모듈 서비스에서 현재 관리 중인 을 가져옵니다.
protected:
property Microsoft::Web::Management::Server::ManagementUnit ^ ManagementUnit { Microsoft::Web::Management::Server::ManagementUnit ^ get(); };
protected Microsoft.Web.Management.Server.ManagementUnit ManagementUnit { get; }
member this.ManagementUnit : Microsoft.Web.Management.Server.ManagementUnit
Protected ReadOnly Property ManagementUnit As ManagementUnit
속성 값
ManagementUnit 개체입니다.
예제
다음 예제에서는 사용 된 ManagementUnit 구성에 대 한 정보를 가져올 속성을 추적 출력에 기록 합니다.
public static void TraceManagementUnit(ManagementUnit mu) {
Trace.WriteLine("ManagementUnit.Administration.AllowUntrustedProviders. " +
mu.Administration.AllowUntrustedProviders.ToString() +
"\n ConfigurationPath.FolderPath: " +
mu.ConfigurationPath.FolderPath.ToString() +
"\n ConfigurationMap.MachineConfigurationPath: " +
mu.ConfigurationMap.MachineConfigurationPath.ToString() +
"\n ConfigurationMap.RootWebConfigurationPath: " +
mu.ConfigurationMap.RootWebConfigurationPath.ToString() +
"\n Administration.Modules.ModuleProviders.Count: " +
mu.Administration.ModuleProviders.Count.ToString());
}