Condividi tramite


Proprietà ProfileName

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

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Sintassi

'Dichiarazione
Public Overridable Property ProfileName As String
    Get
    Set
'Utilizzo
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)

Valore proprietà

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

Implementa

IMergeSynchronizationAgent. . :: . .ProfileName

Osservazioni

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