All Frameworks  Object Hierarchy  This Framework  Indexes   

MHIOpenAccess (Object)

Interface representing a means to load data from the Hub into V5.

DNBIAMHIOpenAccess is implemented on Application. Applications and CAA partners should NOT implement this interface.


Method Index

ConnectToPPRHub
This method establishes a connection to the PPRHub
CreateLoadParameters
This method creates an object which will contain all the necessary information required for loading an object (and its structure) from a PPR Hub into V5
LoadFromPPRHub
This method loads an object (and it structure) from a PPR Hub project into V5 Note: All Tools->Options settings will be respected during the load

Methods


o Sub ConnectToPPRHub( iUsername,
iPassword)
This method establishes a connection to the PPRHub
Parameters:
iUsername
[in] User Login name
iPassword
[in] User password
Returns:
S_OK if connection established OK S_FALSE if connection is already established for user E_FAIL if connection could not be established
o Func CreateLoadParameters() As
This method creates an object which will contain all the necessary information required for loading an object (and its structure) from a PPR Hub into V5
Parameters:
oLoadParameters
[out] Interface to the created Load Parameters object
Returns:
S_OK if object created ok and interface returned OK E_FAIL on error
o Func LoadFromPPRHub( iLoadParameters,
iCreateDefaultWindow,
iIsReadOnly,
oErrorMessages) As
This method loads an object (and it structure) from a PPR Hub project into V5 Note: All Tools->Options settings will be respected during the load
Parameters:
iLoadParameters
[in] The object which contains all the necessary information for the load
iCreateDefaultWindow
[in] Option to indicate whether a window needs to be created for the document or not If no window is created, then caller is responsible for life cycle of document
iIsReadOnly
[in] Option to indicate if document is to loaded in read-only mode
oLoadedDoc
[out] The V5 document into which data from the Hub is loaded
oErrorMessages
[out] The list of message about invalid or insufficient agruments passed to the method
Returns:
S_OK if everything ran OK E_FAIL on error

Copyright © 2003, Dassault Systèmes. All rights reserved.