Share via


SPDefaultSolutionValidator.ProhibitFinalizers property

True if solutions that use finalizers should be excluded from running in the sandbox.

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

Syntax

'Declaration
Public Property ProhibitFinalizers As Boolean
    Get
    Set
'Usage
Dim instance As SPDefaultSolutionValidator
Dim value As Boolean

value = instance.ProhibitFinalizers

instance.ProhibitFinalizers = value
public bool ProhibitFinalizers { get; set; }

Property value

Type: System.Boolean

See also

Reference

SPDefaultSolutionValidator class

SPDefaultSolutionValidator members

Microsoft.SharePoint.UserCode namespace