StorageInfo.NewSqlStorage(String, String, String) 方法

定义

创建一个新的 Microsoft SQL Server 数据库,其中将存储原始包或升级包。

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

参数

host
String

存储包的服务器的名称。

username
String

SQL Server身份验证的用户名需要连接到数据库。

password
String

SQL Server身份验证的字符串密码需要连接到数据库。

返回

一个StorageInfo指定SQL Server数据库的对象。

注解

username如果未设置参数,Integration Services 将使用Windows 身份验证连接到服务器。

如果设置了 username 参数,则必须设置 password 参数。

适用于