DataMenuCommand Class
Represents an extended MenuCommand class to support status updates.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
<HostProtectionAttribute(SecurityAction.LinkDemand, SharedState := True)> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class DataMenuCommand _
Inherits MenuCommand
'Usage
Dim instance As DataMenuCommand
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[HostProtectionAttribute(SecurityAction.LinkDemand, SharedState = true)]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class DataMenuCommand : MenuCommand
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
[HostProtectionAttribute(SecurityAction::LinkDemand, SharedState = true)]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public ref class DataMenuCommand : public MenuCommand
public class DataMenuCommand extends MenuCommand
Remarks
Note
The HostProtectionAttribute attribute applied to this type or member has the following Resources property value: SharedState. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.
Inheritance Hierarchy
System.Object
System.ComponentModel.Design.MenuCommand
Microsoft.VisualStudio.Data.Framework.DataMenuCommand
Microsoft.VisualStudio.Data.Framework.DataViewMenuCommand
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.