StorageInfo.NewSqlStorage Method
Creates a new Microsoft SQL Server database in which the original or the upgraded Integration Services packages will be stored.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
Syntax
'Deklaracja
Public Shared Function NewSqlStorage ( _
host As String, _
username As String, _
password As String _
) As StorageInfo
public static StorageInfo NewSqlStorage (
string host,
string username,
string password
)
public:
static StorageInfo^ NewSqlStorage (
String^ host,
String^ username,
String^ password
)
public static StorageInfo NewSqlStorage (
String host,
String username,
String password
)
public static function NewSqlStorage (
host : String,
username : String,
password : String
) : StorageInfo
Parameters
- host
The name of the server that stores the packages.
- username
The user name that SQL Server Authentication requires to connect to the database.
- password
The string passwordthat SQL Server Authentication requires to connect to the database.
Return Value
A StorageInfo object that specifies the SQL Server database.
Remarks
If the username parameter is not set, Integration Services use Windows Authentication to connect to the server.
If the username parameter is set, the password parameter must be set.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.