IDeploymentContext.SiteUrl 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
SharePoint에 따라 프로젝트가 연결된 Microsoft.SharePoint.SPWeb의 canonical URL을 반환합니다.
public:
Uri ^ SiteUrl();
public Uri SiteUrl ();
abstract member SiteUrl : unit -> Uri
Public Function SiteUrl () As Uri
반환
SharePoint에 따라 프로젝트가 연결된 Microsoft.SharePoint.SPWeb의 canonical URL입니다.
설명
이는 와 동일하거나 동일 Microsoft.VisualStudio.SharePoint.ISharePointProject.SiteUrl하지 않을 수 있지만 동일한 리소스를 가리킵니다.
이 값은 SiteCollectionUrl과 일치할 수 있도록 SharePoint에서 쿼리됩니다.
예를 들어 는 Microsoft.VisualStudio.SharePoint.ISharePointProject.SiteUrl 일 수 http://localhost있지만 SharePoint는 에 resolve.http://hostname.