Méthode Event.ISfcDiscoverObject.Discover
Discovers an Action object in metadata by using the ISfcDependencyDiscoveryObjectSink object.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Private Sub Discover ( _
sink As ISfcDependencyDiscoveryObjectSink _
) Implements ISfcDiscoverObject.Discover
'Utilisation
Dim instance As Event
Dim sink As ISfcDependencyDiscoveryObjectSink
CType(instance, ISfcDiscoverObject).Discover(sink)
void ISfcDiscoverObject.Discover(
ISfcDependencyDiscoveryObjectSink sink
)
private:
virtual void Discover(
ISfcDependencyDiscoveryObjectSink^ sink
) sealed = ISfcDiscoverObject::Discover
private abstract Discover :
sink:ISfcDependencyDiscoveryObjectSink -> unit
private override Discover :
sink:ISfcDependencyDiscoveryObjectSink -> unit
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
- sink
Type : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDependencyDiscoveryObjectSink
The ISfcDependencyDiscoveryObjectSink object.
Implémente
ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)