DataViewSelectionMenuCommand.UpdateStatus Method
Updates the status of this command based on the common set of status values extracted from all the nodes in the node selection for a data connection.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public Overrides Sub UpdateStatus
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public override void UpdateStatus()
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
public:
virtual void UpdateStatus() override
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract UpdateStatus : unit -> unit
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
override UpdateStatus : unit -> unit
public override function UpdateStatus()
Remarks
The status of the command is checked for each node by looking up the following properties for it: Checked, Enabled, Visible, and Supported.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.