SAPermissionAttribute members

Public constructors
Member name Description

SAPermissionAttribute constructor

Initializes a new instance of the SAPermissionAttribute class.

Public properties
Member name Description

[external link] Action (inherited from SecurityAttribute)

Gets or sets a security action.

[external link] AllowBlankPassword (inherited from DBDataPermissionAttribute)

Gets or sets a value indicating whether a blank password is allowed.

[external link] ConnectionString (inherited from DBDataPermissionAttribute)

Gets or sets a permitted connection string.

[external link] KeyRestrictionBehavior (inherited from DBDataPermissionAttribute)

Identifies whether the list of connection string parameters identified by the [external link] DBDataPermissionAttribute.KeyRestrictions are the only connection string parameters allowed.

[external link] KeyRestrictions (inherited from DBDataPermissionAttribute)

Gets or sets connection string parameters that are allowed or disallowed.

[external link] TypeId (inherited from Attribute)

When implemented in a derived class, gets a unique identifier for this [external link] Attribute.

[external link] Unrestricted (inherited from SecurityAttribute)

Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.

Public methods
Member name Description

CreatePermission method

Returns an SAPermission object that is configured according to the attribute properties.

[external link] Equals (inherited from Attribute)

Returns a value that indicates whether this instance is equal to a specified object.

[external link] GetHashCode (inherited from Attribute)

Returns the hash code for this instance.

[external link] IsDefaultAttribute (inherited from Attribute)

When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.

[external link] Match (inherited from Attribute)

When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.

[external link] ShouldSerializeConnectionString (inherited from DBDataPermissionAttribute)

Identifies whether the attribute should serialize the connection string.

[external link] ShouldSerializeKeyRestrictions (inherited from DBDataPermissionAttribute)

Identifies whether the attribute should serialize the set of key restrictions.

See also