Compartilhar via


Método ObjectSet.Discover

Discovers an ObjectSet and adds it to the sink object identified by the parameter.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Overrides Sub Discover ( _
    sink As ISfcDependencyDiscoveryObjectSink _
)
'Uso
Dim instance As ObjectSet 
Dim sink As ISfcDependencyDiscoveryObjectSink

instance.Discover(sink)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public override void Discover(
    ISfcDependencyDiscoveryObjectSink sink
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
virtual void Discover(
    ISfcDependencyDiscoveryObjectSink^ sink
) override
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
abstract Discover : 
        sink:ISfcDependencyDiscoveryObjectSink -> unit 
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
override Discover : 
        sink:ISfcDependencyDiscoveryObjectSink -> unit
public override function Discover(
    sink : ISfcDependencyDiscoveryObjectSink
)

Parâmetros

Implementa

ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)

Consulte também

Referência

ObjectSet Classe

Namespace Microsoft.SqlServer.Management.Dmf