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 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- sink
型別:Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDependencyDiscoveryObjectSink
He passed sink.
實作
ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)