Export (0) Print
Expand All

MessageCollectionBase.Contains Method (Int32, Int32)

Determines whether an object with the specified ID value and language ID value exists in the message collection object.

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

public bool Contains(
	int id,
	int languageId
)

Parameters

id
Type: Int32
An Int32 value that specifies the ID value of the MessageCollectionBase object.
languageId
Type: Int32
An Int32 value that specifies the ID value of the language associated with the MessageCollectionBase object.

Return Value

Type: Boolean
A Boolean value that specifies whether the object with the specified ID value exists in the MessageCollectionBase object.If True, the MessageCollectionBase contains the specified object.If False, the MessageCollectionBase does not contain the specified object.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft