Compartilhar via


Propriedade ProfileName

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

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

Sintaxe

'Declaração
Public Overridable Property ProfileName As String
    Get
    Set
'Uso
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)

Valor da propriedade

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

Implementa

ITransSynchronizationAgent. . :: . .ProfileName

Comentários

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