ObjectSet.Discover 方法
Discovers an ObjectSet and adds it to the sink object identified by the parameter.
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Overrides Sub Discover ( _
sink As ISfcDependencyDiscoveryObjectSink _
)
用法
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
)
参数
- sink
类型:Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDependencyDiscoveryObjectSink
A ISfcDependencyDiscoveryObjectSink object.
实现
ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)