This topic has not yet been rated - Rate this topic

SnapIn Members

Provides the main entry point for the creation of a snap-in. In the managed framework in MMC, a minimal amount of code that uses this class is required to build a simple snap-in that has core functionality. The NamespaceSnapInBase class from which the SnapIn class is derived, provides an implementation of functionality that is common to both standalone and extension snap-ins.

The following tables list the members exposed by the SnapIn type.

  Name Description
SnapIn Initializes a new instance of the SnapIn class.
Top
(see also Protected Properties)
 NameDescription
public propertyConsole  Gets the console object that exposes the functionality of the main MMC console window. (Inherited from NamespaceSnapInBase)
public propertyInvokeRequired  Gets a value that indicates whether the caller must call the Invoke or the BeginInvoke methods when calling a method on a snap-in component. This distinction is necessary when the caller is on a different thread than the thread that the snap-in was created on. (Inherited from SnapInBase)
public propertyIsModified  Gets or sets a flag that tells the MMC runtime whether the snap-in has data that needs to be saved. (Inherited from NamespaceSnapInBase)
public propertyLargeImages  Gets the list of 32 x 32 images for the snap-in and associated elements. All elements, such as scope nodes, that have associated images can specify an index into the snap-in image lists. (Inherited from NamespaceSnapInBase)
public propertyRootNodeGets or sets the root of the scope namespace for the snap-in. Every stand-alone snap-in must have a root node. The RootNode property can never be set to a null value. The root node has a special significance. One can create an entire tree of nodes in an offline mode. A node tree synchronizes with MMC only when it is merged under the root node. This provides the ability to operate effectively in an offline mode.
public propertySmallImages  Gets the list of 16 x 16 images for the snap-in and its associated elements. All elements, such as scope nodes, that have associated images can specify an index into the snap-in image lists.  (Inherited from NamespaceSnapInBase)
public propertyTag  Gets or sets an object that contains application-specific information that is associated with the snap-in. (Inherited from SnapInBase)
Top
  Name Description
protected property Id  Gets the identifier for the instance of the snap-in. The identifier is unique across snap-in instances within a console. (Inherited from SnapInBase)
Top
(see also Protected Methods)
 NameDescription
public methodBeginInvoke  Overloaded. (Inherited from SnapInBase)
public methodEndInvoke  (Inherited from SnapInBase)
public methodEquals  Overloaded. (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodInvoke  Overloaded. (Inherited from SnapInBase)
public methodstaticReferenceEquals  (Inherited from Object)
public methodRegisterCurrentThreadForUI  Called on a background thread to register it as a candidate for showing pop-up UI. (Inherited from SnapInBase)
public methodShowHelpTopic  (Inherited from SnapInBase)
public methodToString  (Inherited from Object)
public methodUnregisterCurrentThreadForUI  Called on a background thread to unregister it as a candidate for showing pop-up UI. (Inherited from SnapInBase)
Top
  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method OnInitialize  Called when a snap-in is initialized. It allows derived classes to provide additional initialization. (Inherited from SnapInBase)
protected method OnLoadCustomData  (Inherited from NamespaceSnapInBase)
protected method OnSaveCustomData  (Inherited from NamespaceSnapInBase)
protected method OnShowInitializationWizard Overridden in derived classes to show an initialization wizard or dialog modal to the Add/Remove wizard by calling ShowDialog.
protected method OnShutdown  (Inherited from SnapInBase)
Top

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ