dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OraclePermission Class / IsSubsetOf Method
A permission object to be tested for the subset relationship. This object must have the same type as the current permission object.

In This Topic
    IsSubsetOf Method
    In This Topic
    Returns a value indicating whether the current permission object is a subset of the specified permission object.
    Syntax
    'Declaration
     
    Public Overrides NotOverridable Function IsSubsetOf( _
       ByVal target As IPermission _
    ) As Boolean
    public override bool IsSubsetOf( 
       IPermission target
    )

    Parameters

    target
    A permission object to be tested for the subset relationship. This object must have the same type as the current permission object.

    Return Value

    true if the current permission object is a subset of the specified permission object; otherwise, %[LangWord] false%.
    Remarks
    The current permission object is a subset of the specified permission object if the current permission object specifies a set of operations that is completely contained by the specified permission object. For example, a permission that represents access to C:\example.txt is a subset of a permission that represents access to C:\. If IsSubsetOf method returns true, the current permission object represents no more access to the protected resource than does the specified permission object.
    See Also