Redigera

Dela via


OleDbPermission.Intersect(IPermission) Method

Definition

Returns an IPermission that is the intersection of the current OleDbPermission and the specified target IPermission.

public:
 override System::Security::IPermission ^ Intersect(System::Security::IPermission ^ target);
public override System.Security.IPermission Intersect (System.Security.IPermission target);
override this.Intersect : System.Security.IPermission -> System.Security.IPermission
Public Overrides Function Intersect (target As IPermission) As IPermission

Parameters

target
IPermission

The target IPermission to intersect with the current OleDbPermission.

Returns

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 if the intersection is empty.

Applies to