Dela via


Policy.Discover Method

Discovers conditions in the ObjectSet and adds them to the ISfcDependencyDiscoveryObjectSink identified by the sink parameter.

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

Syntax

'Declaration
Public Overrides Sub Discover ( _
    sink As ISfcDependencyDiscoveryObjectSink _
)
'Usage
Dim instance As Policy
Dim sink As ISfcDependencyDiscoveryObjectSink

instance.Discover(sink)
public override void Discover(
    ISfcDependencyDiscoveryObjectSink sink
)
public:
virtual void Discover(
    ISfcDependencyDiscoveryObjectSink^ sink
) override
abstract Discover : 
        sink:ISfcDependencyDiscoveryObjectSink -> unit 
override Discover : 
        sink:ISfcDependencyDiscoveryObjectSink -> unit 
public override function Discover(
    sink : ISfcDependencyDiscoveryObjectSink
)

Implements

ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)