SqlClientFactory.CreatePermission Method (PermissionState)

 

Returns a new CodeAccessPermission.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public override CodeAccessPermission CreatePermission(
	PermissionState state
)

Parameters

state
Type: System.Security.Permissions.PermissionState

A member of the PermissionState enumeration.

Return Value

Type: System.Security.CodeAccessPermission

A strongly typed instance of CodeAccessPermission.

.NET Framework
Available since 2.0
Return to top
Show: