Udostępnij przez


sp_change_agent_profile (Transact-SQL)

Zmiany parametrów profilu agent replikacja są przechowywane w MSagent_profiles (Transact-SQL) Tabela. Ta procedura przechowywana jest wykonywany na dystrybutor na dowolnej bazy danych.

Topic link iconKonwencje składni języka Transact-SQL

sp_change_agent_profile [ @profile_id = ] profile_id 
        , [ @property = ] 'property' 
        , [ @value = ] 'value' 

Argumenty

  • [ @profile_id= ] profile_id
    Is the ID of the profile.profile_id is int, with no default.

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

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

    Poniższa tabela zawiera opis właściwości profilu, które mogą być zmieniane.

    Właściwość

    Description

    Opis

    Opis profilu.

Wartości kodów powrotnych

0 (sukces) lub 1 (brak)

Remarks

sp_change_agent_profile jest używany we wszystkich typach replikacja.

Uprawnienia

Tylko członkowie sysadmin roli serwera stałe mogą być wykonać sp_change_agent_profile.