SharePointPermission.ObjectModel Property

Gets or sets a value indicating whether use of the SharePoint 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 SharePointPermission
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

SharePointPermission Class

SharePointPermission Members

Microsoft.SharePoint.Security Namespace