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 复制代理配置文件.