ISfcHasConnection.SetConnection-Methode
Indicates the connection to set.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Sub SetConnection ( _
connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Usage
Dim instance As PolicyStore
Dim connection As ISfcConnection
CType(instance, ISfcHasConnection).SetConnection(connection)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
void ISfcHasConnection.SetConnection(
ISfcConnection connection
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
private:
virtual void SetConnection(
ISfcConnection^ connection
) sealed = ISfcHasConnection::SetConnection
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
private abstract SetConnection :
connection:ISfcConnection -> unit
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
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 specified connection.