Método Target.ISfcDiscoverObject.Discover
Discovers or alters events referenced by the sink parameter.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Private Sub Discover ( _
sink As ISfcDependencyDiscoveryObjectSink _
) Implements ISfcDiscoverObject.Discover
'Uso
Dim instance As Target
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.
Parâmetros
- sink
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcDependencyDiscoveryObjectSink
An ISfcDependencyDiscoveryObjectSink object.
Implementa
ISfcDiscoverObject.Discover(ISfcDependencyDiscoveryObjectSink)