Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Contains Method (String)
Collapse the table of content
Expand the table of content

DataEventColumnInfoCollection.Contains Method (String)

Tests for occurrence of a string in an DataEventColumnInfoCollection.

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

public bool Contains(
	string name


Type: String
The string to find in the collection.

Return Value

Type: Boolean
Returns true if the value parameter occurs within this string, or if value is an empty string (""), otherwise, false.

Community Additions

© 2015 Microsoft