Udostępnij za pośrednictwem


SqlClientFactory.CreatePermission(PermissionState) Metoda

Definicja

Zwraca nowy CodeAccessPermission element .

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

Element członkowski wyliczenia PermissionState .

Zwraca

Silnie typizowane wystąpienie klasy CodeAccessPermission .

Dotyczy