Compartilhar via


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)
Available in Sandboxed Solutions: No

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

ClientApplicationWebPartBase Members

Microsoft.SharePoint.WebPartPages Namespace