MessageCollectionBase.Contains 메서드 (Int32, Int32)

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Function Contains ( _
    id As Integer, _
    languageId As Integer _
) As Boolean
‘사용 방법
Dim instance As MessageCollectionBase 
Dim id As Integer 
Dim languageId As Integer 
Dim returnValue As Boolean 

returnValue = instance.Contains(id, languageId)
public bool Contains(
    int id,
    int languageId
)
public:
bool Contains(
    int id, 
    int languageId
)
member Contains : 
        id:int * 
        languageId:int -> bool
public function Contains(
    id : int, 
    languageId : int
) : boolean

매개 변수

반환 값

유형: 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.

컬렉션 사용

참고 항목

참조

MessageCollectionBase 클래스

Contains 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스