'Declaration
<System.Security.SecuritySafeCriticalAttribute()> Public Sub Demand()
'Usage
Dim instance As VistaDBDataPermission instance.Demand()
[System.Security.SecuritySafeCritical()] public void Demand()
'Declaration
<System.Security.SecuritySafeCriticalAttribute()> Public Sub Demand()
'Usage
Dim instance As VistaDBDataPermission instance.Demand()
[System.Security.SecuritySafeCritical()] public void Demand()
Exception | Description |
---|---|
System.Security.SecurityException | A caller higher in the call stack does not have the permission specified by the current instance. -or- A caller higher in the call stack has called System.Security.CodeAccessPermission.Deny on the current permission object. |
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