Aracılığıyla paylaş


sp_MSchange_merge_agent_properties (Transact-SQL)

Changes the properties of a Merge Agent job that runs at a Microsoft SQL Server 2005 or later version Distributor.Bu saklı yordam, yayımcı örneğinde çalıştığında, özelliklerini değiştirmek için kullanılır SQL Server 2000. Bu saklı yordam dağıtımcı dağıtım veritabanı üzerinde sırasında yürütülür.

Topic link iconTransact-SQL sözdizimi kuralları

sp_MSchange_merge_agent_properties [ @publisher = ] 'publisher'
        , [ @publisher_db = ] 'publisher_db'
        , [ @publication = ] 'publication' 
        , [ @subscriber = ] 'subscriber' 
        , [ @subscriber_db = ] 'subscriber_db' 
        , [ @property = ] 'property' 
        , [ @value = ] 'value' ]

Bağımsız değişkenler

  • [ Yayımcı'ın = ] 'publisher'
    Is the name of the Publisher.publisher is sysname, with no default.

  • [ @publisher_db= ] 'publisher_db'
    Is the name of the publication database.publisher_db is sysname, with no default.

  • [ @publication = ] 'publication'
    Is the name of the publication.publication is sysname, with no default.

  • [ @subscriber= ] 'subscriber'
    Is the name of the Subscriber.subscriber is sysname, with no default.

  • [ @subscriber_db= ] 'subscriber_db'
    Is the name of the subscription database.subscriber_db is sysname, with no default.

  • [ @property = ] 'property'
    Is the publication property to change.property is sysname, with no default.

  • [ @value = ] 'value'
    Is the new property value.value is nvarchar(524), with a default of NULL.

    Bu tablo bu özelliklerin değerlerini Birleştirme Aracısı işin değiştirilebilecek özellikleri ve kısıtlamaları anlatılmaktadır.

    Özellik

    Değer

    Açıklama

    Açıklama

    Abonelik kısa açıklaması.

    merge_job_login

    Oturum açma için Microsoft Windows hesabı altında aracı çalışır.

    merge_job_password

    Aracı iş çalıştığı Windows hesabının parolası.

    publisher_login

    Abonelik eşitlemek için yayımcı bağlanırken kullanılacak oturum açma.

    publisher_password

    Yayımcı paroladır.

    Do not use a blank password. Use a strong password.

    publisher_security_mode

    1

    Windows kimlik doğrulaması.

    When possible, use Windows Authentication.

    0

    SQL Server Kimlik doğrulaması.

    subscriber_login

    Sunucuya bağlanırken kullanılacak oturum açma bir abone abonelik eşitlemeye.

    subscriber_password

    Abone paroladır.

    Do not use a blank password. Use a strong password.

    subscriber_security_mode

    1

    Windows kimlik doğrulaması.

    When possible, use Windows Authentication.

    0

    SQL Server Kimlik doğrulaması.

    Not

    Bir aracı bir oturum açma veya parola değiştirdikten sonra durdurmak ve değişikliğin etkili olabilmesi için aracı yeniden başlatmanız gerekir.

Dönüş Kodu Değerleri

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

Remarks

sp_MSchange_merge_agent_properties birleştirme çoğaltmasında kullanılır.

Ne zaman yayımcı örneğinde çalışır. SQL Server 2005 veya sonraki bir sürüm kullanmanız gerekir sp_changemergesubscription dağıtımcı altında çalışan bir gönderme temelli abonelik eşitleyen bir Birleştirme Aracısı iş özelliklerini değiştirmek için.

İzinler

Yalnızca üyeleri sysadmin sabit sunucu rolü dağıtımcı adresindeki çalıştırabilirsinizsp_MSchange_merge_agent_properties.