다음을 통해 공유


SetHostUrlDialog.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 to host the external content pages is a valid URL and the host site exists.

See Also

Reference

SetHostUrlDialog Class

SetHostUrlDialog Members

Microsoft.SharePoint.Portal.WebControls Namespace