StorageInfo.NewSqlStorage(String, String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新的 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
参数。