다음을 통해 공유


ManagementConfigurationPath 클래스

정의

현재 서버, 웹 사이트, 애플리케이션, 파일 또는 폴더의 구성 경로에 대한 컨테이너를 정의합니다. 이 클래스는 상속될 수 없습니다.

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

웹 사이트 이름을 가져옵니다.

메서드

CreateApplicationConfigurationPath(String)

새 애플리케이션 구성 경로를 만듭니다.

CreateApplicationConfigurationPath(String, String)

지정된 웹 사이트 이름을 사용하여 새 애플리케이션 구성 경로를 만듭니다.

CreateFileConfigurationPath(String, String)

지정된 애플리케이션 경로를 사용하여 새 파일 구성 경로를 만듭니다.

CreateFileConfigurationPath(String, String, String)

지정된 웹 사이트 이름 및 애플리케이션 경로를 사용하여 새 파일 구성 경로를 만듭니다.

CreateFolderConfigurationPath(String, String)

지정된 애플리케이션 경로를 사용하여 새 폴더 구성 경로를 만듭니다.

CreateFolderConfigurationPath(String, String, String)

지정된 웹 사이트 이름 및 애플리케이션 경로를 사용하여 새 폴더 구성 경로를 만듭니다.

CreateServerConfigurationPath()

새 서버 구성 경로를 만듭니다.

CreateSiteConfigurationPath(String)

새 웹 사이트 구성 경로를 만듭니다.

GetBindingProtocols(IServiceProvider)

현재 바인딩 프로토콜을 가져옵니다.

GetEffectiveConfigurationPath(ManagementScope)

애플리케이션, 웹 사이트 또는 서버에 대한 유효 구성 경로를 가져옵니다.

GetFrameworkVersion(IServiceProvider)

현재 경로 형식의 .NET Framework 버전을 가져옵니다.

GetState()

현재 서버, 웹 사이트, 애플리케이션, 파일 또는 폴더의 구성 경로에 대한 컨테이너를 정의합니다. 이 클래스는 상속될 수 없습니다.

IsEquivalentScope(ManagementScope)

관리 범위가 현재 범위와 같은지 여부를 확인합니다.

적용 대상