DB2PermissionAttribute Members
DB2PermissionAttribute overview
Public Constructors
| Constructor | Description |
|---|---|
DB2®PermissionAttribute |
Initializes a new instance of the DB2PermissionAttribute class with one of the SecurityAction values. |
Public Properties
| Property | Description |
|---|---|
Action (inherited from SecurityAttribute) |
Gets or sets a security action. |
AllowBlankPassword (inherited
from DBDataPermissionAttribute) |
Gets a value indicating whether a blank password is allowed. |
TypeId (inherited from Attribute) |
When implemented in a derived class, gets a unique identifier for this Attribute. |
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
| Method | Description |
|---|---|
CreatePermission |
Overridden. Returns a DB2Permission object that is configured according to the attribute properties. |
Equals (inherited from Object) |
Overloaded. Determines whether two Object instances are equal. |
GetHashCode (inherited from Attribute) |
Overridden. Returns the hash code for this instance. |
GetType (inherited from Object) |
Gets the Type of the current instance. |
IsDefaultAttribute (inherited
from Attribute) |
When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class. |
Match (inherited from Attribute) |
When overridden in a derived class, returns a value indicating whether this instance equals a specified object. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected Methods
| Method | Description |
|---|---|
Finalize (inherited from Object) |
Overridden. Allows an Object to attempt to free resources and perform other cleanup operations
before the Object is reclaimed by garbage collection. In C# and Microsoft(R) Visual C++(R), finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited
from Object) |
Creates a shallow copy of the current Object. |