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


In This Topic
    Union Method
    In This Topic
    Returns a new permission object that is the union of the current and specified permission objects.
    Syntax
    'Declaration
     
    
    Public Function Union( _
       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.Union(target)
    public System.Security.IPermission Union( 
       System.Security.IPermission target
    )

    Parameters

    target
    A permission object to combine 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 union of the current permission object and the specified permission object.
    Exceptions
    ExceptionDescription
    The target object is not 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