ClientApplicationWebPartBase.SourceUrl property
Gets the effective URL of the application that is hosted in the Web Part.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected ReadOnly Property SourceUrl As String
Get
'Usage
Dim value As String
value = Me.SourceUrl
protected string SourceUrl { get; }
Property value
Type: System.String
The effective URL of the application.
Remarks
When an External Application Provider (EAP) has been enabled, this property returns the URL specified in the External Application XML for the Web Part. Otherwise, it returns the value of the Url property.
See also
Reference
ClientApplicationWebPartBase class