Compartir a través de


IWMSDataSourcePluginCallback Object (C#)

The IWMSDataSourcePluginCallback object is implemented by the server and contains methods that enable a data source plug-in to respond to calls that the server makes through the IWMSDataSourcePluginIWMSDataSourcePlugin Object (C#).

Note

   This object is available only on Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; and Windows Server 2008. Each method of this object must be called only once, even if an error code is returned after the initial call.

The IWMSDataSourcePluginCallback object exposes the following properties and methods.

Method

Description

OnCreateDirectory

Called by a data source plug-in to respond when the server calls CreateDataSourceDirectory.

OnDeleteDataContainer

Called by a data source plug-in to respond when the server calls DeleteDataContainer.

OnDeleteDirectory

Called by a data source plug-in to respond when the server calls DeleteDirectory.

OnGetDataContainerVersion

Called by a data source plug-in to respond when the server calls GetDataContainerVersion.

OnGetRootDirectories

Called by a data source plug-in to respond when the server calls GetRootDirectories.

OnOpenDataContainer

Called by a data source plug-in to respond when the server calls OpenDataContainer.

OnOpenDirectory

Called by a data source plug-in to respond when the server calls OpenDirectory.

OnOpenPacketStreamDataContainer

Not implemented in this release.

See Also

Concepts

Custom Plug-in Objects (C#)