共用方式為


3.1.4.13 IImport2

The IImport2 interface provides a method for setting the import target partition, as specified in Per-Session State (section 3.1.1.5). This interface inherits from IUnknown, as specified in [MS-DCOM] section 3.1.1.5.8.

To receive incoming remote calls for this interface, the server MUST implement a DCOM Object Class with the CLSID CLSID_COMAServer, as specified in section 1.9, using the UUID {1F7B1697-ECB2-4CBB-8A0E-75C427F4A6F0} for this interface.

This interface includes the following methods beyond those of IUnknown.

Methods in RPC Opnum Order

Method

Description

SetPartition

Sets the partition into which conglomerations will be imported.

Opnum: 3

Opnum4NotUsedOnWire

Reserved for local use.

Opnum: 4

Opnum5NotUsedOnWire

Reserved for local use.

Opnum: 5

In the previous table, the phrase "Reserved for local use" means that the client MUST NOT send the opnum, and the server behavior is undefined because it does not affect interoperability.<339>

All methods MUST NOT throw exceptions.