Share via


SqlClientPermissionAttribute(SecurityAction) Constructor

Definition

Initializes a new instance of the SqlClientPermissionAttribute class.

public:
 SqlClientPermissionAttribute(System::Security::Permissions::SecurityAction action);
public SqlClientPermissionAttribute (System.Security.Permissions.SecurityAction action);
new Microsoft.Data.SqlClient.SqlClientPermissionAttribute : System.Security.Permissions.SecurityAction -> Microsoft.Data.SqlClient.SqlClientPermissionAttribute
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