Share via


TenantSetHostUrlDialog.ValidateHostUrl method

Handles the ServerValidate event of the HostUrlValidator control.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Sub ValidateHostUrl ( _
    sender As Object, _
    e As ServerValidateEventArgs _
)
'Usage
Dim sender As Object
Dim e As ServerValidateEventArgs

Me.ValidateHostUrl(sender, e)
protected void ValidateHostUrl(
    Object sender,
    ServerValidateEventArgs e
)

Parameters

Remarks

The method validates whether the URL entered for the site hosting the external content pages is a valid URL, and whether the host site exists.

See also

Reference

TenantSetHostUrlDialog class

TenantSetHostUrlDialog members

Microsoft.SharePoint.Portal.WebControls namespace