EventColumnInfoCollection.Contains Method (String)

 

Tests for occurrence of a string within an EventColumnInfoCollection.

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

A string that specifies the name of the EventColumnInfo object to find in the collection.

Return Value

Type: System.Boolean

Returns True if the value parameter occurs within this string, or if the value is an empty string (""); otherwise, False.

Return to top
Show: