StoredProcedure.ExecutionContext 속성

Gets or sets the execution context for the stored procedure.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property ExecutionContext As ExecutionContext 
    Get 
    Set
‘사용 방법
Dim instance As StoredProcedure 
Dim value As ExecutionContext 

value = instance.ExecutionContext

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

속성 값

유형: Microsoft.SqlServer.Management.Smo.ExecutionContext
An ExecutionContext object value that specifies the execution context of the stored procedure.

주의

If the ExecutionContext property is set to ExecuteAsPrincipal, a value is required for the ExecutionContextPrincipal property.

저장 프로시저 생성, 변경 및 제거

참고 항목

참조

StoredProcedure 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

CREATE PROCEDURE(Transact-SQL)