Sdílet prostřednictvím


SqlClientFactory.CreatePermission(PermissionState) Metoda

Definice

Vrátí novou CodeAccessPermission hodnotu .

public:
 override System::Security::CodeAccessPermission ^ CreatePermission(System::Security::Permissions::PermissionState state);
public override System.Security.CodeAccessPermission CreatePermission (System.Security.Permissions.PermissionState state);
abstract member CreatePermission : System.Security.Permissions.PermissionState -> System.Security.CodeAccessPermission
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

Instance silného CodeAccessPermission typu .

Platí pro