共用方式為


TransSynchronizationAgent.ProfileName 屬性

Gets or sets the name of the profile that is used by the agent.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Overridable Property ProfileName As String 
    Get 
    Set
'用途
Dim instance As TransSynchronizationAgent 
Dim value As String 

value = instance.ProfileName

instance.ProfileName = value
public virtual string ProfileName { get; set; }
public:
virtual property String^ ProfileName {
    String^ get ();
    void set (String^ value);
}
abstract ProfileName : string with get, set 
override ProfileName : string with get, set
function get ProfileName () : String 
function set ProfileName (value : String)

屬性值

型別:System.String
The name of the profile.

實作

ITransSynchronizationAgent.ProfileName

備註

If the ProfileName property is not set, the default profile for the agent is used.

請參閱

參考

TransSynchronizationAgent 類別

Microsoft.SqlServer.Replication 命名空間

其他資源

使用複寫代理程式設定檔 (RMO 程式設計)