Export (0) Print
Expand All

OracleClientFactory::CreatePermission Method

Returns a strongly typed CodeAccessPermission instance.

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

public:
virtual CodeAccessPermission^ CreatePermission(
	PermissionState state
) override

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft