OleDbPermissionAttribute(SecurityAction) Constructor

Definition

Initializes a new instance of the OleDbPermissionAttribute class.

public:
 OleDbPermissionAttribute(System::Security::Permissions::SecurityAction action);
public OleDbPermissionAttribute (System.Security.Permissions.SecurityAction action);
new System.Data.OleDb.OleDbPermissionAttribute : System.Security.Permissions.SecurityAction -> System.Data.OleDb.OleDbPermissionAttribute
Public Sub New (action As SecurityAction)

Parameters

action
SecurityAction

One of the SecurityAction values representing an action that can be performed by using declarative security.

Applies to