Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Registers the specified object for OLE command target routing.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Sub RegisterForLimitedCommandRouting ( _
target As IOleCommandTarget, _
projectNode As IDatabaseProjectNode _
)
void RegisterForLimitedCommandRouting(
IOleCommandTarget target,
IDatabaseProjectNode projectNode
)
void RegisterForLimitedCommandRouting(
IOleCommandTarget^ target,
IDatabaseProjectNode^ projectNode
)
abstract RegisterForLimitedCommandRouting :
target:IOleCommandTarget *
projectNode:IDatabaseProjectNode -> unit
function RegisterForLimitedCommandRouting(
target : IOleCommandTarget,
projectNode : IDatabaseProjectNode
)
Parameters
- target
Type: Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
The IOleCommandTarget to register.
- projectNode
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseProjectNode
The project node to which to limit commands.
Remarks
By calling this method, the component is registered to be notified only for nodes that are children of the specified project in Schema View.
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project.SchemaModelViewer Namespace