Event.ISfcDiscoverObject.Discover 方法
Discovers an Action object in metadata by using the ISfcDependencyDiscoveryObjectSink object.
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
Private Sub Discover ( _
sink As ISfcDependencyDiscoveryObjectSink _
) Implements ISfcDiscoverObject.Discover
'用途
Dim instance As Event
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
The ISfcDependencyDiscoveryObjectSink object.
實作
ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)