PolicyStore.ISfcHasConnection.GetConnection Método (SfcObjectQueryMode)
Indicates the connection to get using the SfcObjectQuery mode.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Function GetConnection ( _
mode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Uso
Dim instance As PolicyStore
Dim mode As SfcObjectQueryMode
Dim returnValue As ISfcConnection
returnValue = CType(instance, ISfcHasConnection).GetConnection(mode)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
ISfcConnection ISfcHasConnection.GetConnection(
SfcObjectQueryMode mode
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
private:
virtual ISfcConnection^ GetConnection(
SfcObjectQueryMode mode
) sealed = ISfcHasConnection::GetConnection
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
private abstract GetConnection :
mode:SfcObjectQueryMode -> ISfcConnection
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
private override GetConnection :
mode:SfcObjectQueryMode -> ISfcConnection
JScript admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- mode
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
A SfcObjectQueryMode object.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
The ISfcConnection to get using the SfcObjectQuery mode.
Implementa
ISfcHasConnection.GetConnection(SfcObjectQueryMode)