SqlClientPermissionAttribute(SecurityAction) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.