Metodo NewSqlStorage
Crea un nuovo database di MicrosoftSQL Server in cui verranno archiviati i pacchetti Integration Services originali o aggiornati.
Spazio dei nomi: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Sintassi
'Dichiarazione
Public Shared Function NewSqlStorage ( _
host As String, _
username As String, _
password As String _
) As StorageInfo
'Utilizzo
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
Parametri
- host
Tipo: System. . :: . .String
Nome del server in cui vengono archiviati i pacchetti.
- username
Tipo: System. . :: . .String
Nome utente richiesto dall'autenticazione di SQL Server per la connessione al database.
- password
Tipo: System. . :: . .String
Password costituita da una stringa richiesta dall'autenticazione di SQL Server per la connessione al database.
Valore restituito
Tipo: Microsoft.SqlServer.Dts.Runtime. . :: . .StorageInfo
Oggetto StorageInfo che specifica il database di SQL Server.
Osservazioni
Se il parametro username non è impostato, Integration Services utilizza l'autenticazione di Windows per connettersi al server.
Se il parametro username è impostato, è necessario che sia impostato anche il parametro password.
Vedere anche