言語

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

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

適用対象

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

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

適用対象