共用方式為


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