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

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