PolicyStore.ISfcHasConnection.SetConnection Método
Indicates the connection to set.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Sub SetConnection ( _
connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Uso
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- connection
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
The specified connection.
Implementa
ISfcHasConnection.SetConnection(ISfcConnection)