VistaDB 6
VistaDB.Provider Namespace / VistaDBDataPermission Class / Deny Method


In This Topic
    Deny Method
    In This Topic
    Prevents callers higher in the call stack from using the code that calls this method to access the resource specified by the current instance.
    Syntax
    'Declaration
     
    
    <System.Security.SecuritySafeCriticalAttribute()>
    <System.ObsoleteAttribute("Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")>
    Public Sub Deny() 
    'Usage
     
    
    Dim instance As VistaDBDataPermission
     
    instance.Deny()
    [System.Security.SecuritySafeCritical()]
    [System.Obsolete("Deny is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
    public void Deny()
    Exceptions
    ExceptionDescription
    There is already an active System.Security.CodeAccessPermission.Deny for the current frame.
    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