Export (0) Print
Expand All

UserDefinedFunction.ExecutionContext Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public ExecutionContext ExecutionContext { get; set; }

Property Value

Type: 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft