ExecutionContext プロパティ

ストアド プロシージャの実行コンテキストを取得します。値の設定も可能です。

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

構文

'宣言
<SfcPropertyAttribute> _
Public Property ExecutionContext As ExecutionContext
    Get
    Set
'使用
Dim instance As StoredProcedure
Dim value As ExecutionContext

value = instance.ExecutionContext

instance.ExecutionContext = value
[SfcPropertyAttribute]
public ExecutionContext ExecutionContext { get; set; }
[SfcPropertyAttribute]
public:
property ExecutionContext ExecutionContext {
    ExecutionContext get ();
    void set (ExecutionContext value);
}
[<SfcPropertyAttribute>]
member ExecutionContext : ExecutionContext with get, set
function get ExecutionContext () : ExecutionContext
function set ExecutionContext (value : ExecutionContext)

プロパティ値

型: Microsoft.SqlServer.Management.Smo. . :: . .ExecutionContext
ストアド プロシージャの実行コンテキストを示す ExecutionContext オブジェクト値です。

説明

ExecutionContext プロパティが ExecuteAsPrincipal に設定されている場合、ExecutionContextPrincipal プロパティには値が必要です。