共用方式為


ClientApplicationWebPartBase.SourceUrl property

取得裝載於 [網頁組件中的應用程式的有效 URL。

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Protected ReadOnly Property SourceUrl As String
    Get
'用途
Dim value As String

value = Me.SourceUrl
protected string SourceUrl { get; }

Property value

Type: System.String
有效應用程式的 URL。

備註

啟用了外部應用程式提供者 」 (EAP),則這個屬性會傳回外部應用程式 XML 中指定 [網頁組件的 URL。否則,它會傳回Url屬性的值。

請參閱

參照

ClientApplicationWebPartBase class

ClientApplicationWebPartBase members

Microsoft.SharePoint.WebPartPages namespace