Share via


Event.ISfcDiscoverObject.Discover Method

Discovers an Action object in metadata by using the ISfcDependencyDiscoveryObjectSink 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 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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Implements

ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)

See Also

Reference

Event Class

Microsoft.SqlServer.Management.XEvent Namespace