다음을 통해 공유


NewSqlStorage 메서드

원본 또는 업그레이드된 Integration Services 패키지를 저장할 새 MicrosoftSQL Server 데이터베이스를 만듭니다.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS.dll의 Microsoft.SqlServer.ManagedDTS

구문

‘선언
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

매개 변수

  • username
    형식: System. . :: . .String
    데이터베이스에 연결하기 위해 SQL Server 인증에 필요한 사용자 이름입니다.
  • password
    형식: System. . :: . .String
    데이터베이스에 연결하기 위해 SQL Server 인증에 필요한 문자열 암호입니다.

반환 값

형식: Microsoft.SqlServer.Dts.Runtime. . :: . .StorageInfo
SQL Server 데이터베이스를 지정하는 StorageInfo 개체입니다.

주의

username 매개 변수를 설정하지 않으면 Integration Services에서 서버에 연결하는 데 Windows 인증이 사용됩니다.

username 매개 변수를 설정한 경우 password 매개 변수도 설정해야 합니다.