Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ViewOptions

ViewOptions enumeration

The ViewOptions enumeration is used by the Views.Add method and specifies the visibility of the view, scope tree, and toolbars, as well as the persistence state of the view. These flags can be combined using a bitwise OR operation. This enumeration applies to the MMC 2.0 Automation Object Model.

Syntax


typedef enum ViewOptions { 
  ViewOption_Default          = 0x0000,
  ViewOption_ScopeTreeHidden  = 0x0001,
  ViewOption_NoToolBars       = 0x0002,
  ViewOption_NotPersistable   = 0x0004
} _ViewOptions, *PVIEWOPTIONS, **PPVIEWOPTIONS;

Constants

ViewOption_Default

The view is added with default settings.

ViewOption_ScopeTreeHidden

The view is added with the scope tree pane hidden. The user will not be able to show the scope tree, as the Console Tree check box will be disabled in the Customize View dialog box.

ViewOption_NoToolBars

The view is added with toolbars hidden.

ViewOption_NotPersistable

The view is added as temporary (without persistence capability).

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

MmcObj.h

IDL

MmcObj.idl

See also

Views collection
Views.Add

 

 

Show:
© 2015 Microsoft