Método Contains (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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function Contains ( _
    id As Integer, _
    languageId As Integer _
) As Boolean
'Uso
Dim instance As MessageCollectionBase
Dim id As Integer
Dim languageId As Integer
Dim returnValue As Boolean

returnValue = instance.Contains(id, languageId)

Parâmetros

Valor de retorno

Tipo: System. . :: . .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.