Share via


SPGlobalAdmin.AllowUnsafeUpdates property

NOTE: This API is now obsolete.

Obsolete. Gets or sets a Boolean value that specifies whether to allow updates to the database as a result of a GET request or without requiring a security validation.

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

Syntax

'Declaration
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.",  _
    False)> _
Public Property AllowUnsafeUpdates As Boolean
    Get
    Set
'Usage
Dim instance As SPGlobalAdmin
Dim value As Boolean

value = instance.AllowUnsafeUpdates

instance.AllowUnsafeUpdates = value
[ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.", 
    false)]
public bool AllowUnsafeUpdates { get; set; }

Property value

Type: System.Boolean
true to allow unsafe updates; otherwise, false.

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace