AgentProfile コンストラクター (Int32, ServerConnection)

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

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)

構文

'宣言
Public Sub New ( _
    profileID As Integer, _
    connectionContext As ServerConnection _
)
'使用
Dim profileID As Integer
Dim connectionContext As ServerConnection

Dim instance As New AgentProfile(profileID, _
    connectionContext)
public AgentProfile(
    int profileID,
    ServerConnection connectionContext
)
public:
AgentProfile(
    int profileID, 
    ServerConnection^ connectionContext
)
new : 
        profileID:int * 
        connectionContext:ServerConnection -> AgentProfile
public function AgentProfile(
    profileID : int, 
    connectionContext : ServerConnection
)

パラメーター

説明

この名前空間、クラス、またはメンバは、.NET Framework 2.0 でのみサポートされています。