VistaDB 6
VistaDB.Provider Namespace / VistaDBDataPermission Class / Intersect Method
A permission object to intersect with the current permission object. It must be of the same type as the current permission object.


In This Topic
    Intersect Method
    In This Topic
    Returns a new permission object representing the intersection of the current permission object and the specified permission object.
    Syntax
    'Declaration
     
    
    Public Function Intersect( _
       ByVal target As System.Security.IPermission _
    ) As System.Security.IPermission
    'Usage
     
    
    Dim instance As VistaDBDataPermission
    Dim target As System.Security.IPermission
    Dim value As System.Security.IPermission
     
    value = instance.Intersect(target)
    public System.Security.IPermission Intersect( 
       System.Security.IPermission target
    )

    Parameters

    target
    A permission object to intersect with the current permission object. It must be of the same type as the current permission object.

    Return Value

    A new permission object that represents the intersection of the current permission object and the specified permission object. This new permission object is a null reference (Nothing in Visual Basic) if the intersection is empty.
    Exceptions
    ExceptionDescription
    The target parameter is not a null reference (Nothing in Visual Basic) and is not an instance of the same class 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