Share via


CollectionSet.ISfcDiscoverObject.Discover Method

Allows the object to indicate relationships for dependency discovery requests via the passed sink. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

'Declaration
Private Sub Discover ( _
    sink As ISfcDependencyDiscoveryObjectSink _
) Implements ISfcDiscoverObject.Discover
'Usage
Dim instance As CollectionSet
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.

Implements

ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)