SPAlternateUrlCollection.Validate method

Verifies that the alternate URL collection is in an acceptable state before calling the Update() method.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Sub Validate
'Usage

Me.Validate()
protected override void Validate()

Remarks

If the collection is not in an acceptable state, the Validate method throws an exception. A response URL must be set for the Default zone in order for the collection to be considered in an acceptable state. 

See also

Reference

SPAlternateUrlCollection class

SPAlternateUrlCollection members

Microsoft.SharePoint.Administration namespace