StorageInfo.NewSqlStorage(String, String, String) Method

Definition

Creates a new Microsoft SQL Server database in which the original or the upgraded packages will be stored.

public:
 static Microsoft::SqlServer::Dts::Runtime::StorageInfo ^ NewSqlStorage(System::String ^ host, System::String ^ username, System::String ^ password);
public static Microsoft.SqlServer.Dts.Runtime.StorageInfo NewSqlStorage (string host, string username, string password);
static member NewSqlStorage : string * string * string -> Microsoft.SqlServer.Dts.Runtime.StorageInfo
Public Shared Function NewSqlStorage (host As String, username As String, password As String) As StorageInfo

Parameters

host
String

The name of the server that stores the packages.

username
String

The user name that SQL Server authentication requires to connect to the database.

password
String

The string passwordthat SQL Server authentication requires to connect to the database.

Returns

A StorageInfo object that specifies the SQL Server database.

Remarks

If the username parameter is not set, Integration Services uses Windows authentication to connect to the server.

If the username parameter is set, the password parameter must be set.

Applies to