EventCollection.Contains Method (String)

 

Determines whether the collection contains the T:Microsoft.SqlServer.Management.XEvent object identified by the name parameter.

Namespace:   Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

public bool Contains(
	string name
)

Parameters

name
Type: System.String

The name of the T:Microsoft.SqlServer.Management.XEvent to find.

Return Value

Type: System.Boolean

A Boolean value that returns True if the EventCollection contains the T:Microsoft.SqlServer.Management.XEvent object specified by the name parameter; otherwise returns False.

Return to top
Show: