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

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

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

構文

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

Dim instance As New AgentProfile(name, connectionContext)
public AgentProfile(
    string name,
    ServerConnection connectionContext
)
public:
AgentProfile(
    String^ name, 
    ServerConnection^ connectionContext
)
new : 
        name:string * 
        connectionContext:ServerConnection -> AgentProfile
public function AgentProfile(
    name : String, 
    connectionContext : ServerConnection
)

パラメーター

説明

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