UrlMapping.MappedUrl 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
웹 애플리케이션의 URL입니다.
public:
property System::String ^ MappedUrl { System::String ^ get(); };
[System.Configuration.ConfigurationProperty("mappedUrl", IsRequired=true)]
public string MappedUrl { get; }
[<System.Configuration.ConfigurationProperty("mappedUrl", IsRequired=true)>]
member this.MappedUrl : string
Public ReadOnly Property MappedUrl As String
속성 값
속성에 지정된 값에 매핑된 웹 애플리케이션의 Url URL입니다.
- 특성
예제
다음 코드 예제에서는 속성을 가져오는 방법을 보여 있습니다 MappedUrl . 이 예제는 클래스에 대한 더 큰 예제에서 가져옵니다 UrlMapping .
urlMap = (UrlMapping)urlMapSection.UrlMappings[showVal - 1];
realURL.Text = urlMap.MappedUrl;
urlMap = CType(urlMapSection.UrlMappings(showVal - 1), UrlMapping)
realURL.Text = urlMap.MappedUrl
설명
이 MappedUrl 속성은 구성 파일 섹션에 add 있는 요소의 특성에 urlMappings 해당하는 mappedUrl 프로그래밍 방식입니다.
메모
IIS 5.0을 사용하는 경우 속성을 사용하여 MappedUrl 지원되는 페이지 형식(예: .aspx 파일)에서 지원되지 않는 페이지 형식(예: .asp 페이지)으로 매핑하는 경우 오류가 발생합니다. 이 유형의 매핑은 IIS 버전 6.0에서 지원됩니다.