JobCollection.Contains 메서드 (String)

Determines whether the collection contains a job with the specified name.

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

구문

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

returnValue = instance.Contains(name)
public bool Contains(
    string name
)
public:
bool Contains(
    String^ name
)
member Contains : 
        name:string -> bool
public function Contains(
    name : String
) : boolean

매개 변수

반환 값

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

주의

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

참고 항목

참조

JobCollection 클래스

Contains 오버로드

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