AgentProfile コンストラクター

定義

AgentProfile クラスの新しいインスタンスを初期化します。

オーバーロード

AgentProfile()

AgentProfile クラスの新しいインスタンスを初期化します。

AgentProfile(Int32, ServerConnection)

指定したエージェント プロファイル ID 値とサーバー接続を使用して、AgentProfile クラスの新しいインスタンスを初期化します。

AgentProfile(String, ServerConnection)

指定したプロファイル名とサーバー接続を使用して、AgentProfile クラスの新しいインスタンスを初期化します。

AgentProfile()

AgentProfile クラスの新しいインスタンスを初期化します。

public:
 AgentProfile();
public AgentProfile ();
Public Sub New ()

適用対象

AgentProfile(Int32, ServerConnection)

指定したエージェント プロファイル ID 値とサーバー接続を使用して、AgentProfile クラスの新しいインスタンスを初期化します。

public:
 AgentProfile(int profileID, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public AgentProfile (int profileID, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.AgentProfile : int * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.AgentProfile
Public Sub New (profileID As Integer, connectionContext As ServerConnection)

パラメーター

profileID
Int32

エージェント プロファイルを一意に識別する Int32 値です。

connectionContext
ServerConnection

ServerConnection MicrosoftSQL Server のインスタンスへの接続を指定するオブジェクト。

適用対象

AgentProfile(String, ServerConnection)

指定したプロファイル名とサーバー接続を使用して、AgentProfile クラスの新しいインスタンスを初期化します。

public:
 AgentProfile(System::String ^ name, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public AgentProfile (string name, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.AgentProfile : string * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.AgentProfile
Public Sub New (name As String, connectionContext As ServerConnection)

パラメーター

name
String

エージェント プロファイルの名前を指定する String 値です。

connectionContext
ServerConnection

ServerConnectionディストリビューターであるSQL Serverのインスタンスへの接続を指定するオブジェクト。

適用対象