Export (0) Print
Expand All

NumberedObjectCollectionBase.Contains Method

Determines whether the specified value is the number value of any of the numbered objects in the referenced collection.

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

public bool Contains(
	short number
)

Parameters

number
Type: Int16
An Int16 value that specifies the number value of the object that is being checked to see whether it exists in the collection.

Return Value

Type: Boolean
A Boolean value that specifies whether the referenced collection contains the object with the specified number value.If True, the collection contains the specified object. Otherwise, False.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft