CreatePermission Method

Returns a new instance of the Adaptive Server ADO.NET Data Provider class that implements the System.Data.Common.CreatePermission class.

Syntax

CodeAccessPermission CreatePermission( PermissionState state )

Parameter

state – specifies whether a permission has access to resources.

Return Value

A new instance of System.Data.Common.CreatePermission.