Sdílet prostřednictvím


MergeSynchronizationAgent.ProfileName Property

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Overridable Property ProfileName As String
    Get
    Set
'Usage
Dim instance As MergeSynchronizationAgent
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)

Property Value

Type: System.String
A String value that is the name of the profile.

Implements

IMergeSynchronizationAgent.ProfileName

Remarks

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