PolicyStore.ISfcHasConnection.SetConnection Method
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- connection
Type: Microsoft.SqlServer.Management.Common.ISfcConnection
The specified connection.