IManageReposTypeLib::CreateTypeLib
This method creates a new repository type library and attaches it to the root of the repository. Each repository type library represents an information model.
HRESULT CreateTypeLib(
VARIANT sObjId,
BSTR Name,
VARIANT TypeLibId,
IReposTypeLib **ppIRepTypeLib
);
Parts
sObjId
[in]
The object identifier to be used for the new repository type library object. The repository engine will assign an object identifier if you set this parameter to OBJID_NULL.
Name
[in]
The name of the new repository type library.
TypeLibId
[in]
The global identifier by which this repository type library is referenced.
*ppIRepTypeLib [out]
The IReposTypeLib interface pointer to the new repository type library object.
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.