SPSite.UpdateValidationKey method
Updates the key that is used to generate the form digest validation of the site collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub UpdateValidationKey
'Usage
Dim instance As SPSite
instance.UpdateValidationKey()
public void UpdateValidationKey()
Remarks
Calling the UpdateValidationKey method clears any existing canary validation. Only a server farm administrator can execute this method.