다음을 통해 공유


PSSnapIn Class

Definition

MshSnapin is a class for regular mshsnapin's which is constructed based on mshsnapin assembly.

This class derives from PSSnapInInstaller and will be used as the base for all regular mshsnapins.

public ref class PSSnapIn abstract : System::Management::Automation::PSSnapInInstaller
public abstract class PSSnapIn : System.Management.Automation.PSSnapInInstaller
type PSSnapIn = class
    inherit PSSnapInInstaller
Public MustInherit Class PSSnapIn
Inherits PSSnapInInstaller
Inheritance
Derived

Remarks

Developers should derive from this class when implementing their own mshsnapins.

Derived mshsnapins should be denotated with [RunInstaller] attribute so that installutil.exe can directly install the mshsnapin into registry.

Constructors

PSSnapIn()

Properties

Description (Inherited from PSSnapInInstaller)
DescriptionResource (Inherited from PSSnapInInstaller)
Formats

Gets list of format files to be loaded for this mshsnapin.

Name (Inherited from PSSnapInInstaller)
Types

Gets list of type files to be loaded for this mshsnapin.

Vendor (Inherited from PSSnapInInstaller)
VendorResource (Inherited from PSSnapInInstaller)

Methods

Install(IDictionary) (Inherited from PSInstaller)
Rollback(IDictionary)

Rollback this msh component

(Inherited from PSInstaller)
Uninstall(IDictionary)

Uninstall this msh component

(Inherited from PSInstaller)

Applies to