VistaDB 5






A member of the PermissionState enumeration.
CreatePermission Method
Returns a new CodeAccessPermission.
Syntax
'Declaration
 
Public Overrides NotOverridable Function CreatePermission( _
   ByVal state As System.Security.Permissions.PermissionState _
) As System.Security.CodeAccessPermission
'Usage
 
Dim instance As VistaDBProviderFactory
Dim state As System.Security.Permissions.PermissionState
Dim value As System.Security.CodeAccessPermission
 
value = instance.CreatePermission(state)
public override System.Security.CodeAccessPermission CreatePermission( 
   System.Security.Permissions.PermissionState state
)
public function CreatePermission( 
    state: System.Security.Permissions.PermissionState
): System.Security.CodeAccessPermission; override; 
public override function CreatePermission( 
   state : System.Security.Permissions.PermissionState
) : System.Security.CodeAccessPermission;
public: System.Security.CodeAccessPermission* CreatePermission( 
   System.Security.Permissions.PermissionState state
) override 
public:
System.Security.CodeAccessPermission^ CreatePermission( 
   System.Security.Permissions.PermissionState state
) override 

Parameters

state
A member of the PermissionState enumeration.

Return Value

A strongly typed instance of CodeAccessPermission.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also