Sdílet prostřednictvím


OdbcFactory.CreatePermission(PermissionState) Metoda

Definice

Vrátí instanci silného typu 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

Parametry

state
PermissionState

Člen výčtu PermissionState .

Návraty

Nová instance silného typu .CodeAccessPermission

Platí pro