CreatePermission method

Returns a strongly-typed CodeAccessPermission instance.

Syntax
Visual Basic

Public Overrides Function CreatePermission( _
   ByVal state As PermissionState _
) As CodeAccessPermission
C#

public override CodeAccessPermission CreatePermission(
   PermissionState state
);
Parameters
Return value

A new SACommand object typed as DbCommand.

See also