共用方式為


OdbcFactory.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 的新強型別執行個體。

適用於