Méthode PolicyStore.ISfcHasConnection.GetConnection (SfcObjectQueryMode)
Indicates the connection to get using the SfcObjectQuery mode.
Espace de noms : Microsoft.SqlServer.Management.Dmf
Assembly : Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Syntaxe
'Déclaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Function GetConnection ( _
mode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- mode
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
A SfcObjectQueryMode object.
Valeur de retour
Type : Microsoft.SqlServer.Management.Common.ISfcConnection
The ISfcConnection to get using the SfcObjectQuery mode.
Implémente
ISfcHasConnection.GetConnection(SfcObjectQueryMode)