Partager via


Propriété ProfileName

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Overridable Property ProfileName As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Implémente

ITransSynchronizationAgent. . :: . .ProfileName

Notes

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