SecureStorePermissionAttribute class

Allows security actions for a SecureStorePermission instance to be applied to code using declarative security. This class cannot be inherited.

Inheritance hierarchy

System.Object
  System.Attribute
    System.Security.Permissions.SecurityAttribute
      System.Security.Permissions.CodeAccessSecurityAttribute
        Microsoft.Office.SecureStoreService.Server.Security.SecureStorePermissionAttribute

Namespace:  Microsoft.Office.SecureStoreService.Server.Security
Assembly:  Microsoft.Office.SecureStoreService.Server.Security (in Microsoft.Office.SecureStoreService.Server.Security.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.All, AllowMultiple := True)> _
Public NotInheritable Class SecureStorePermissionAttribute _
    Inherits CodeAccessSecurityAttribute
'Usage
Dim instance As SecureStorePermissionAttribute
[AttributeUsageAttribute(AttributeTargets.All, AllowMultiple = true)]
public sealed class SecureStorePermissionAttribute : CodeAccessSecurityAttribute

Remarks

The scope of the declaration that is allowed depends on the SecurityAction that is used.

The security information declared by a security attribute is stored in the metadata of the attribute target and is accessed by the system at run time. Security attributes are used only for declarative security. For imperative security, use the corresponding permission class.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SecureStorePermissionAttribute members

Microsoft.Office.SecureStoreService.Server.Security namespace