共用方式為


SPGlobalAdmin.AdminFormDigest Property

NOTE: This API is now obsolete.

Use the FormDigest class instead to implement security validation. (In Windows SharePoint Services 2.0, the AdminFormDigest property got the security validation that was used for a request in a SharePoint Central Administration page, and is maintained for backward compatibility.)

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Include a FormDigest control instead.")> _
Public ReadOnly Property AdminFormDigest As String
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As String

value = instance.AdminFormDigest
[ObsoleteAttribute("Include a FormDigest control instead.")]
public string AdminFormDigest { get; }

Property Value

Type: System.String
A string that contains the security validation.

Remarks

Unlike the security validation used in a page for working with site or list data, the security validation for a global administrative page has a built-in time-out of 30 minutes and is not configurable. Security validation cannot be disabled for global administrative pages.

See Also

Reference

SPGlobalAdmin Class

SPGlobalAdmin Members

Microsoft.SharePoint.Administration Namespace