다음을 통해 공유


ExecutionContext 속성

Gets or sets the execution context for the user-defined function.

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

구문

‘선언
<SfcPropertyAttribute> _
Public Property ExecutionContext As ExecutionContext
    Get
    Set
‘사용 방법
Dim instance As UserDefinedFunction
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
An ExecutionContext object value that specifies the execution context of the user-defined function.

주의

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

예제

속성 설정