ProfileName 屬性

Gets or sets an agent profile to use when running the agent.

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

語法

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

value = instance.ProfileName

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

屬性值

型別:System. . :: . .String
A String value.

備註

If ProfileName is not set, the default profile for the agent type is used. For information, see 複寫代理程式設定檔.