OdbcPermission.Add(String, String, KeyRestrictionBehavior) Method
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.
Adds access for the specified connection string to the existing state of the permission.
public:
override void Add(System::String ^ connectionString, System::String ^ restrictions, System::Data::KeyRestrictionBehavior behavior);
public override void Add (string connectionString, string restrictions, System.Data.KeyRestrictionBehavior behavior);
override this.Add : string * string * System.Data.KeyRestrictionBehavior -> unit
Public Overrides Sub Add (connectionString As String, restrictions As String, behavior As KeyRestrictionBehavior)
Parameters
- connectionString
- String
A permitted connection string.
- restrictions
- String
String that identifies connection string parameters that are allowed or disallowed.
- behavior
- KeyRestrictionBehavior
One of the KeyRestrictionBehavior values.
Remarks
This method can be useful when you implement the following:
a .NET Framework data provider.
an API that must assert for data access permission.
an administrative tool or installation program that must modify security policy.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om