SecureStorePermission.Union Method
Creates a permission that is the union of the current permission and the specified permission.
Namespace: Microsoft.Office.SecureStoreService.Server.Security
Assembly: Microsoft.Office.SecureStoreService.Server.Security (in Microsoft.Office.SecureStoreService.Server.Security.dll)
Syntax
'Declaration
Public Overrides Function Union ( _
target As IPermission _
) As IPermission
'Usage
Dim instance As SecureStorePermission
Dim target As IPermission
Dim returnValue As IPermission
returnValue = instance.Union(target)
public override IPermission Union(
IPermission target
)
Parameters
target
Type: System.Security.IPermissionA permission to combine with the current permission. It must be of the same type as the current permission.
Return Value
Type: System.Security.IPermission
A new permission that represents the union of the current permission and the specified permission.
Implements
IPermission.Union(IPermission)
Remarks
The result of a call to Union is a permission that represents all the operations represented by both the current permission and the specified permission. Any demand that passes either permission passes their union.
See Also
Reference
Microsoft.Office.SecureStoreService.Server.Security Namespace