VistaDB 6
VistaDB.Provider Namespace / VistaDBDataPermission Class / IsSubsetOf Method
A permission object that is to be tested for the subset relationship. This object must be of 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 Function IsSubsetOf( _
       ByVal target As System.Security.IPermission _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As VistaDBDataPermission
    Dim target As System.Security.IPermission
    Dim value As System.Boolean
     
    value = instance.IsSubsetOf(target)
    public System.bool IsSubsetOf( 
       System.Security.IPermission target
    )

    Parameters

    target
    A permission object that is to be tested for the subset relationship. This object must be of 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 false.
    Exceptions
    ExceptionDescription
    The target parameter is an object that is not of the same type as the current permission object.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also