次の方法で共有


IWMSBasicPlugin Object (C#)

The IWMSBasicPlugin object contains methods to initialize, disable, enable, and shut down a plug-in, and to expose an administration object. It is recommended that all custom plug-ins implement this object.

Note

   This object is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008.

The IWMSBasicPlugin object exposes the following properties and methods.

Method

Description

DisablePlugin

Called by the server to disable a plug-in.

EnablePlugin

Called by the server to enable a plug-in.

GetCustomAdminInterface

Called by the server to retrieve the custom user interface for the plug-in.

InitializePlugin

Called by the server to initialize a plug-in.

OnHeartbeat

Called by the server at every interval specified in the EnablePlugin method.

ShutdownPlugin

Called by the server to shut down a plug-in.

See Also

Concepts

Custom Plug-in Objects (C#)