Metodo SetConnection
Sets the active connection for the domain root. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Sub SetConnection ( _
connection As ISfcConnection _
)
'Utilizzo
Dim instance As ISfcHasConnection
Dim connection As ISfcConnection
instance.SetConnection(connection)
void SetConnection(
ISfcConnection connection
)
void SetConnection(
ISfcConnection^ connection
)
abstract SetConnection :
connection:ISfcConnection -> unit
function SetConnection(
connection : ISfcConnection
)
Parametri
- connection
Tipo: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
An ISfcConnection object that represents the connection to use.
Vedere anche