DB2PermissionAttribute Methods

The methods of the DB2PermissionAttribute class are listed here. For a complete list of DB2PermissionAttribute class members, see the DB2PermissionAttribute Members topic.

Public Methods

Method Description
public method CreatePermission Overridden. Returns a DB2®Permission object that is configured according to the attribute properties.
public method Equals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public method GetHashCode (inherited from Attribute) Overridden. Returns the hash code for this instance.
public method GetType (inherited from Object) Gets the Type of the current instance.
public method 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.
public method Match (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
public method ToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

Method Description
protected method 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.

protected method MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.