Share via


Target.ISfcDiscoverObject.Discover Method

Discovers or alters events referenced by the sink parameter.

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 Target 
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

Target Class

Microsoft.SqlServer.Management.XEvent Namespace