Aracılığıyla paylaş


sp_changesubscriber_schedule (Transact-SQL)

Abone dağıtım aracısını veya Birleştirme Aracısı zamanlamasını değiştirir.Bu saklı yordam, herhangi bir veritabanı, yayımcı sırasında yürütülür.

Topic link iconTransact-SQL sözdizimi kuralları

sp_changesubscriber_schedule [ @subscriber = ] 'subscriber', [ @agent_type = ] type
    [ , [ @frequency_type = ] frequency_type ]
    [ , [ @frequency_interval = ] frequency_interval ]
    [ , [ @frequency_relative_interval = ] frequency_relative_interval ]
    [ , [ @frequency_recurrence_factor = ] frequency_recurrence_factor ]
    [ , [ @frequency_subday = ] frequency_subday ]
    [ , [ @frequency_subday_interval = ] frequency_subday_interval ]
    [ , [ @active_start_time_of_day = ] active_start_time_of_day ]
    [ , [ @active_end_time_of_day = ] active_end_time_of_day ]
    [ , [ @active_start_date = ] active_start_date ]
    [ , [ @active_end_date = ] active_end_date ]
    [ , [ @publisher = ] 'publisher' ]

Bağımsız değişkenler

  • [ @subscriber=] 'subscriber'
    Is the name of the Subscriber.subscriber is sysname.Abonenin adını, veritabanı içinde benzersiz olmalıdır, mevcut olmalıdır ve null olamaz.

  • [ @agent_type=] type
    Is the type of agent.type is smallint, with a default of 0.0 bir dağıtım aracısını belirtir.1 bir Birleştirme Aracısı gösterir.

  • [ @frequency_type=] frequency_type
    Is the frequency with which to schedule the distribution task.frequency_type is int, with a default of 64.10 Zamanlamayı sütunlar vardır.

  • [ @frequency_interval=] frequency_interval
    Is the value applied to the frequency set by frequency_type.frequency_interval is int, with a default of 1.

  • [ @frequency_relative_interval=] frequency_relative_interval
    Is the date of the distribution task.frequency_relative_interval is int, with a default of 1.

  • [ @frequency_recurrence_factor=] frequency_recurrence_factor
    Is the recurrence factor used by frequency_type.frequency_recurrence_factor is int, with a default of 0.

  • [ @frequency_subday=] frequency_subday
    Is how often, in minutes, to reschedule during the defined period.frequency_subday is int, with a default of 4.

  • [ @frequency_subday_interval=] frequency_subday_interval
    Is the interval for frequency_subday.frequency_subday_interval is int, with a default of 5.

  • [ @active_start_time_of_day=] active_start_time_of_day
    Is the time of day when the distribution task is first scheduled.active_start_time_of_day is int, with a default of 0.

  • [ @active_end_time_of_day=] active_end_time_of_day
    Is the time of day when the distribution task stops being scheduled.active_end_time_of_day is int, with a default of 235959, which means 11:59:59 P.M.on a 24-hour clock.

  • [ @active_start_date=] active_start_date
    Is the date when the distribution task is first scheduled, formatted as YYYYMMDD.active_start_date is int, with a default of 0.

  • [ @active_end_date=] active_end_date
    Is the date when the distribution task stops being scheduled, formatted as YYYYMMDD.active_end_date is int, with a default of 99991231, which means December 31, 9999.

  • [ Yayımcı'ın = ] 'publisher'
    Specifies a non-Microsoft SQL Server Publisher.publisher is sysname, with a default of NULL.

    Not

    publisher üzerinde makale özelliklerini değiştirirken kullanılmamalıdır bir SQL Server Yayımcı.

Dönüş Kodu Değerleri

0 (başarılı) veya 1 (hata)

Remarks

sp_changesubscriber_schedule çoğaltma tüm türleri kullanılır.

İzinler

Yalnızca üyeleri sysadmin sabit sunucu rolü çalıştırabilirsinizsp_changesubscriber_schedule.