LoadAssembly.exe Command Line Reference

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

The LoadAssembly.exe tool imports assembly metadata and dependent assembly metadata into a SQL Server Modeling Services database that contains the common System_Runtime domain model. For more information about the System_Runtime domain, see System_Runtime.

Storing assembly information in a Modeling Services database enables users to analyze assemblies and the relationships between assemblies. It also enables other custom models to refer to information in the System_Runtime views.

There are several requirements when using LoadAssembly.exe. First, provide the name of the assembly to load into the Modeling Services database. You must also use the targetFolder option to specify the Modeling Services Folder to associate with the loaded metadata. For more information about Folders, see Using Folders and Ids. The following example loads the metadata for the Ipad.exe assembly into the Modeling Services database that is named Repository on the local machine. This example specifies a Folder named IpadAssemblyFolder. If this Folder does not exist, it is created by LoadAssembly.exe.

LoadAssembly.exe ipad.exe -targetFolder:IpadAssemblyFolder -database:Repository

Note

The LoadAssembly.exe tool requires the use of integrated authentication to connect to the target database.

Command Line Usage

Run LoadAssembly.exe from a Microsoft SQL Server Modeling CTP Command Prompt. The following table lists the available command-line parameters for LoadAssembly.exe.

Option Alias Description

targetFolder:

tf

A Modeling Services Folder path delimited with forward slashes. The Folder is created if it does not already exist.

server:

s

Specifies the instance of SQL Server to connect to. (Default = (local))

database:

d

Specifies the target Modeling Services database. (Default = Repository)

operationTimeout:

ot

Specifies the timeout value in seconds for each database operation. A timeout value of -1 uses the system default value. (Default = -1)

loginTimeout:

lt

Specifies the timeout value in seconds for the login when connecting to the server. (Default = 15)

userInstance

ui

Redirects the connection from the default SQL Server instance to a runtime-initiated instance running under the account of the caller (applies only to SQL Server Express).

nologo

Suppresses the tool logo text.

verbose

v

Prints verbose output.

?

h, help

Displays the command-line help text.

@<file>

Reads the specified <file> for more parameters.

See Also

Tasks

Walkthrough: Using the System_Runtime Domain

Concepts

System_Runtime

Other Resources

System_Runtime Schema