JobCollection.Contains 메서드 (String, Int32)

Determines whether the collection contains a job with the specified name and category ID.

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

구문

‘선언
Public Function Contains ( _
    name As String, _
    categoryID As Integer _
) As Boolean
‘사용 방법
Dim instance As JobCollection 
Dim name As String 
Dim categoryID As Integer 
Dim returnValue As Boolean 

returnValue = instance.Contains(name, _
    categoryID)
public bool Contains(
    string name,
    int categoryID
)
public:
bool Contains(
    String^ name, 
    int categoryID
)
member Contains : 
        name:string * 
        categoryID:int -> bool
public function Contains(
    name : String, 
    categoryID : int
) : boolean

매개 변수

반환 값

유형: System.Boolean
A Boolean that is true if the collection contains a job with the specified name and category ID. Otherwise, false.

주의

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

JobCollection 클래스

Contains 오버로드

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