Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Determines whether the collection contains a job with the specified name.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function Contains ( _
name As String _
) As Boolean
'Usage
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
Parameters
- name
Type: System.String
A String value that specifies the name of the job to search for.
Return Value
Type: System.Boolean
A Boolean that is true if the collection contains a job with the specified name. Otherwise, false.
Remarks
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.