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

VolumeCollection.Contains Method (String)

Determines whether the referenced collection contains the specified string.

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

public bool Contains(
	string name
)

Parameters

name
Type: String
A String value that specifies the volume name to search for in the collection.

Return Value

Type: Boolean
A Boolean value that determines whether the collection contains the specified string. If True, it contains the string.

Community Additions

ADD
Show:
© 2015 Microsoft