This documentation is archived and is not being maintained.

OraclePermission.Union Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Returns a new permission object that is the union of the current and specified permission objects.

[Visual Basic]
Overrides Public Function Union( _
   ByVal target As IPermission _
) As IPermission Implements IPermission.Union
public override IPermission Union(
 IPermission target
public: IPermission* Union(
 IPermission* target
public override function Union(
   target : IPermission
) : IPermission;


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.




Exception Type Condition
NotSupportedException The other parameter is not a null reference (Nothing in Visual Basic). This method is only supported at this level when passed a null reference (Nothing).


The result of a call to Union is a permission that represents all the operations represented by both the current permission object and the specified permission object. Any demand that passes either permission passes their union.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

OraclePermission Class | OraclePermission Members | System.Data.OracleClient Namespace