Export (0) Print
Expand All

Using the Model Installer ActiveX Component

SQL Server 2000

The file Insrepim.dll is a Microsoft® ActiveX® DLL located in the folder C:\Program Files\Common Files\Microsoft Shared\Repository. It can be used from either a Microsoft Visual Basic® application or a Microsoft Visual C++® application to programmatically install a model file into a repository database.

The component supports the following method:

HRESULT InstallRDM(

BSTR Connect,

BSTR RdmFile,

BSTR UserName,

BSTR Password

);

Parameters

Connect
[in]
The repository connection string used to access the database server that hosts the repository database.

RdmFile
[in]
The compiled information model (.rdm) file.

UserName
[in]
The user's name.

Password
[in]
The user's password.

Return Value

S_OK
The method completed successfully.

Error Code
The method failed to complete successfully.

See Also

Connecting to and Configuring a Repository

Repository Errors (Alphabetical Order)

Show:
© 2014 Microsoft