CollectionSet.ISfcDiscoverObject.Discover 方法

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.

命名空间:  Microsoft.SqlServer.Management.Collector
程序集:  Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)

语法

声明
Private Sub Discover ( _
    sink As ISfcDependencyDiscoveryObjectSink _
) Implements ISfcDiscoverObject.Discover
用法
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 支持使用显式接口实现,但不支持声明新显式接口实现。

参数

实现

ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)

请参阅

参考

CollectionSet 类

Microsoft.SqlServer.Management.Collector 命名空间