Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PolicyCollection.Contains Method (String)

Verifies whether the specified string exists in the collection.

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

public bool Contains(
	string name


Type: String
The String value that is to be found in the collection.

Return Value

Type: Boolean
A Boolean value that determines whether the collection contains the specified name. If True, the collection contains the specified name. Otherwise, False.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Community Additions

© 2015 Microsoft