Sdílet prostřednictvím


SqlClientFactory.CreatePermission(PermissionState) Metoda

Definice

Vrátí novou CodeAccessPermissionhodnotu .

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

Instance silného CodeAccessPermissiontypu .

Platí pro

Viz také