Redigera

Dela via


OdbcFactory.CreatePermission(PermissionState) Method

Definition

Returns a strongly-typed CodeAccessPermission instance.

public:
 override System::Security::CodeAccessPermission ^ CreatePermission(System::Security::Permissions::PermissionState state);
public override System.Security.CodeAccessPermission CreatePermission (System.Security.Permissions.PermissionState state);
override this.CreatePermission : System.Security.Permissions.PermissionState -> System.Security.CodeAccessPermission
Public Overrides Function CreatePermission (state As PermissionState) As CodeAccessPermission

Parameters

state
PermissionState

A member of the PermissionState enumeration.

Returns

A new strongly-typed instance of CodeAccessPermission.

Applies to