ManagementConfigurationPath 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 서버, 웹 사이트, 애플리케이션, 파일 또는 폴더의 구성 경로에 대한 컨테이너를 정의합니다. 이 클래스는 상속될 수 없습니다.
public ref class ManagementConfigurationPath sealed
public sealed class ManagementConfigurationPath
type ManagementConfigurationPath = class
Public NotInheritable Class ManagementConfigurationPath
- 상속
-
ManagementConfigurationPath
예제
다음 예제에서는 개체의 ManagementConfigurationPath 세부 정보를 연결된 목록에 추가합니다.
public LinkedList<string> ConfigurationPath(IServiceProvider sp) {
Connection con = (Connection)sp.GetService(typeof(Connection));
LinkedList<string> llp = new LinkedList<string>();
ManagementConfigurationPath mcp = con.ConfigurationPath;
llp.AddLast("ApplicationPath: " + mcp.ApplicationPath);
llp.AddLast("FolderPath: " + mcp.FolderPath);
llp.AddLast("GetEffectiveConfigurationPath Application: " +
mcp.GetEffectiveConfigurationPath(ManagementScope.Application));
llp.AddLast("GetEffectiveConfigurationPath Server: " +
mcp.GetEffectiveConfigurationPath(ManagementScope.Server));
llp.AddLast("GetEffectiveConfigurationPath Site: " +
mcp.GetEffectiveConfigurationPath(ManagementScope.Site));
llp.AddLast("PathType: " + mcp.PathType.ToString());
llp.AddLast("SiteName: " + mcp.SiteName);
return llp;
}
설명
속성은 Microsoft.Web.Management.Server.ManagementUnit.ConfigurationPath 현재 ManagementConfigurationPath 개체를 노출합니다.
속성
ApplicationPath |
애플리케이션 구성 경로를 가져옵니다. |
FolderPath |
폴더 구성 경로를 가져옵니다. |
PathType |
구성 경로 형식을 가져옵니다. |
SiteName |
웹 사이트 이름을 가져옵니다. |