SqlClientFactory.CreatePermission(PermissionState) Methode

Definition

Gibt einen neuen CodeAccessPermission zurück.

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

Parameter

state
PermissionState

Ein Member aus der PermissionState-Enumeration.

Gibt zurück

Eine stark typisierte CodeAccessPermission-Instanz.

Gilt für:

Weitere Informationen