PolicyCategoryCollection.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
)

Parameters

name
Type: System.String

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

Return Value

Type: System.Boolean

A Boolean which is true if the specified string exists in the collection; otherwise false.

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

Return to top
Show: