SPSite.UpdateValidationKey 方法

Updates the key that is used to generate the form digest validation of the site collection.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Sub UpdateValidationKey
用法
Dim instance As SPSite

instance.UpdateValidationKey()
public void UpdateValidationKey()

备注

Calling the UpdateValidationKey method clears any existing canary validation. Only a server farm administrator can execute this method.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间