PolicyStore.ISfcHasConnection.SetConnection 메서드
Indicates the connection to set.
네임스페이스: Microsoft.SqlServer.Management.Dmf
어셈블리: Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)
구문
‘선언
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Sub SetConnection ( _
connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
‘사용 방법
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는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- connection
유형: Microsoft.SqlServer.Management.Common.ISfcConnection
The specified connection.
구현
ISfcHasConnection.SetConnection(ISfcConnection)