StorageInfo.NewSqlStorage 메서드
Creates a new Microsoft SQL Server database in which the original or the upgraded Integration Services packages will be stored.
네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)
구문
‘선언
Public Shared Function NewSqlStorage ( _
host As String, _
username As String, _
password As String _
) As StorageInfo
‘사용 방법
Dim host As String
Dim username As String
Dim password As String
Dim returnValue As StorageInfo
returnValue = StorageInfo.NewSqlStorage(host, _
username, password)
public static StorageInfo NewSqlStorage(
string host,
string username,
string password
)
public:
static StorageInfo^ NewSqlStorage(
String^ host,
String^ username,
String^ password
)
static member NewSqlStorage :
host:string *
username:string *
password:string -> StorageInfo
public static function NewSqlStorage(
host : String,
username : String,
password : String
) : StorageInfo
매개 변수
- host
유형: System.String
The name of the server that stores the packages.
- username
유형: System.String
The user name that SQL Server authentication requires to connect to the database.
- password
유형: System.String
The string password that SQL Server authentication requires to connect to the database.
반환 값
유형: Microsoft.SqlServer.Dts.Runtime.StorageInfo
A StorageInfo object that specifies the SQL Server database.
주의
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.