ActionContext コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ActionContext クラスの新しいインスタンスを初期化します。
オーバーロード
| ActionContext() |
ActionContext クラスの新しいインスタンスを既定のプロパティ値で初期化します。 |
| ActionContext(IContext) |
指定されたコンテキスト パラメーターを使用して、ActionContext クラスの新しいインスタンスを初期化します。 |
| ActionContext(IServiceProvider) |
指定されたサービス プロバイダーのパラメーターを使用して、ActionContext クラスの新しいインスタンスを初期化します。 |
| ActionContext(IServiceProvider, IEnumerable<KeyValuePair<String,Object>>) |
指定されたサービス プロバイダーとプロパティのパラメーターを使用して、ActionContext クラスの新しいインスタンスを初期化します。 |
ActionContext()
ActionContext クラスの新しいインスタンスを既定のプロパティ値で初期化します。
public:
ActionContext();
public ActionContext ();
Public Sub New ()
適用対象
ActionContext(IContext)
指定されたコンテキスト パラメーターを使用して、ActionContext クラスの新しいインスタンスを初期化します。
public:
ActionContext(Microsoft::SqlServer::Management::Data::IContext ^ context);
public ActionContext (Microsoft.SqlServer.Management.Data.IContext context);
new Microsoft.SqlServer.Management.ActionContext : Microsoft.SqlServer.Management.Data.IContext -> Microsoft.SqlServer.Management.ActionContext
Public Sub New (context As IContext)
パラメーター
- context
- IContext
アクションのコンテキストを表します。
適用対象
ActionContext(IServiceProvider)
指定されたサービス プロバイダーのパラメーターを使用して、ActionContext クラスの新しいインスタンスを初期化します。
public:
ActionContext(IServiceProvider ^ serviceProvider);
public ActionContext (IServiceProvider serviceProvider);
new Microsoft.SqlServer.Management.ActionContext : IServiceProvider -> Microsoft.SqlServer.Management.ActionContext
Public Sub New (serviceProvider As IServiceProvider)
パラメーター
- serviceProvider
- IServiceProvider
他のオブジェクトにサービスを提供します。
適用対象
ActionContext(IServiceProvider, IEnumerable<KeyValuePair<String,Object>>)
指定されたサービス プロバイダーとプロパティのパラメーターを使用して、ActionContext クラスの新しいインスタンスを初期化します。
public:
ActionContext(IServiceProvider ^ serviceProvider, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ properties);
public ActionContext (IServiceProvider serviceProvider, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> properties);
new Microsoft.SqlServer.Management.ActionContext : IServiceProvider * seq<System.Collections.Generic.KeyValuePair<string, obj>> -> Microsoft.SqlServer.Management.ActionContext
Public Sub New (serviceProvider As IServiceProvider, properties As IEnumerable(Of KeyValuePair(Of String, Object)))
パラメーター
- serviceProvider
- IServiceProvider
他のオブジェクトにサービスを提供します。
- properties
- IEnumerable<KeyValuePair<String,Object>>
設定または取得できる、キー/値ペアを定義します。