Freigeben über


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

See Also

Reference

DataViewSelectionMenuCommand Class

Microsoft.VisualStudio.Data.Framework Namespace