.NET Framework Class Library  

OdbcPermissionAttribute Members

OdbcPermissionAttribute overview

Public Constructors

public constructorOdbcPermissionAttribute Constructor Initializes a new instance of the OdbcPermissionAttribute class with one of the SecurityAction values.

Public Properties

public propertyAction (inherited from SecurityAttribute) Gets or sets a security action.
public propertyAllowBlankPassword (inherited from DBDataPermissionAttribute) Gets or sets a value indicating whether a blank password is allowed.
public propertyConnectionString (inherited from DBDataPermissionAttribute) Gets or sets a permitted connection string.
public propertyKeyRestrictionBehavior (inherited from DBDataPermissionAttribute) Identifies whether the list of connection string parameters identified by the KeyRestrictions property are the only additional connection string parameters allowed.
public propertyKeyRestrictions (inherited from DBDataPermissionAttribute) Gets or sets connection string parameters that are allowed or disallowed.
public propertyTypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.
public propertyUnrestricted (inherited from SecurityAttribute) Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.

Public Methods

public methodCreatePermission Overridden. Returns an OdbcPermission object that is configured according to the attribute properties.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Attribute) Overridden. Returns the hash code for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodIsDefaultAttribute (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 methodMatch (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (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 C++, finalizers are expressed using destructor syntax.

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

See Also

OdbcPermissionAttribute Class | System.Data.Odbc Namespace