EntityProviderFactory.CreatePermission Method (PermissionState)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a new instance of the provider's class that implements the provider's version of the CodeAccessPermission class.

Namespace:   System.Data.EntityClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public override CodeAccessPermission CreatePermission(
	PermissionState state
)

Parameters

state
Type: System.Security.Permissions.PermissionState

One of the PermissionState values.

Return Value

Type: System.Security.CodeAccessPermission

A CodeAccessPermission object for the specified PermissionState.

.NET Framework
Available since 3.5
Return to top
Show: