SqlClientFactory.CreatePermission(PermissionState) Metoda

Definice

Vrátí nový CodeAccessPermission .Returns a new 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 PermissionState výčtu.A member of the PermissionState enumeration.

Návraty

CodeAccessPermission

Instance silného typu CodeAccessPermission .A strongly typed instance of CodeAccessPermission.

Platí pro