Share via


Session.ISfcDiscoverObject.Discover Method

Discovers or alters dependency actions and events in the Session object.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
Private Sub Discover ( _
    sink As ISfcDependencyDiscoveryObjectSink _
) Implements ISfcDiscoverObject.Discover
'Usage
Dim instance As Session 
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Implements

ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)

See Also

Reference

Session Class

Microsoft.SqlServer.Management.XEvent Namespace