SqlClientFactory.CreatePermission(PermissionState) Méthode

Définition

Retourne un nouvel objet 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

Paramètres

state
PermissionState

Membre de l'énumération PermissionState.

Retours

CodeAccessPermission

Instance fortement typée de CodeAccessPermission.

S’applique à

Voir aussi