ISfcHasConnection.SetConnection-Methode
Sets the ISfcConnection.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
Private Sub SetConnection ( _
connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Usage
Dim instance As Utility
Dim connection As ISfcConnection
CType(instance, ISfcHasConnection).SetConnection(connection)
void ISfcHasConnection.SetConnection(
ISfcConnection connection
)
private:
virtual void SetConnection(
ISfcConnection^ connection
) sealed = ISfcHasConnection::SetConnection
private abstract SetConnection :
connection:ISfcConnection -> unit
private override SetConnection :
connection:ISfcConnection -> unit
JScript unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.
Parameter
- connection
Typ: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
The ISfcConnection object.