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