Export (0) Print
Expand All

EventCollection.Contains Method (String)

Determines whether the collection contains the 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: String
The name of the XEvent to find.

Return Value

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

Community Additions

ADD
Show:
© 2014 Microsoft