SqlClientPermissionAttribute.CreatePermission Method

Definition

Returns a SqlClientPermission object that is configured according to the attribute properties.

public:
 override System::Security::IPermission ^ CreatePermission();
public override System.Security.IPermission CreatePermission ();
override this.CreatePermission : unit -> System.Security.IPermission
Public Overrides Function CreatePermission () As IPermission

Returns

A SqlClientPermission object.

Applies to