DistributionDatabase.LogFile 屬性

定義

取得或設定儲存資料庫交易記錄檔記錄之檔案的名稱。

public:
 property System::String ^ LogFile { System::String ^ get(); void set(System::String ^ value); };
public string LogFile { get; set; }
member this.LogFile : string with get, set
Public Property LogFile As String

屬性值

String

String 值。

備註

LogFile無法設定現有散發資料庫的屬性。

LogFile屬性只能由 db_owner replmonitor 散發資料庫上的或固定資料庫角色的成員,或使用散發資料庫之發行集之發行集存取清單(PAL)中的使用者來抓取。

LogFile屬性只能由散發者端之固定伺服器角色的成員來設定 sysadmin

抓取 LogFile 屬性相當於執行sp_helpdistributiondb

設定 LogFile 屬性相當於執行sp_adddistributiondb

適用於