OleDbFactory.CreatePermission(PermissionState) 方法

定义

返回强类型 CodeAccessPermission 实例。

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

参数

state
PermissionState

PermissionState 枚举的一个成员。

返回

强类型的 CodeAccessPermission 实例。

适用于