Partilhar via


SecureStorePermission.IsSubsetOf Method

Returns a value that indicates whether the current permission is a subset of 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 IsSubsetOf ( _
    target As IPermission _
) As Boolean
'Usage
Dim instance As SecureStorePermission
Dim target As IPermission
Dim returnValue As Boolean

returnValue = instance.IsSubsetOf(target)
public override bool IsSubsetOf(
    IPermission target
)

Parameters

  • target
    Type: System.Security.IPermission

    A permission to test for the subset relationship. This permission must be the same type as the current permission.

Return Value

Type: System.Boolean
true if the current permission is a subset of the specified permission; otherwise, false.

Implements

IPermission.IsSubsetOf(IPermission)

Remarks

If the current permission specifies a set of operations that is wholly contained by the specified permission, the current permission is a subset of the specified permission.

See Also

Reference

SecureStorePermission Class

SecureStorePermission Members

Microsoft.Office.SecureStoreService.Server.Security Namespace