SharePointPermissionAttribute.ObjectModel Property
Gets or sets a value indicating whether use of the Microsoft SharePoint Products and Technologies object model is allowed.
Namespace: Microsoft.SharePoint.Security
Assembly: Microsoft.SharePoint.Security (in Microsoft.SharePoint.Security.dll)
Syntax
'Declaration
Public Property ObjectModel As Boolean
Get
Set
'Usage
Dim instance As SharePointPermissionAttribute
Dim value As Boolean
value = instance.ObjectModel
instance.ObjectModel = value
public bool ObjectModel { get; set; }
Property Value
Type: System.Boolean
true if object model use is allowed; otherwise, false.
See Also
Reference
SharePointPermissionAttribute Class