JobScheduleCollectionBase.Contains Method (String, Int32)

Determines whether the specified string exists in the referenced collection.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Function Contains ( _
    name As String, _
    id As Integer _
) As Boolean
public bool Contains (
    string name,
    int id
)
public:
bool Contains (
    String^ name, 
    int id
)
public boolean Contains (
    String name, 
    int id
)
public function Contains (
    name : String, 
    id : int
) : boolean

Параметры

  • name
  • id

Замечания

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Пример

How to: Create a Job with Steps and a Schedule in Visual Basic .NET

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

JobScheduleCollectionBase Class
JobScheduleCollectionBase Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

Scheduling Automatic Administrative Tasks in SQL Server Agent