Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

ExecutionContext Enumeration

The ExecutionContext enumeration is a list of constant values that specify the different types of context (or which role is assumed) when executing a process represented by an object.

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

public enum ExecutionContext

Member nameDescription
CallerThe process is executed in the context of the process that called the referenced process.
ExecuteAsUserThe process is executed as a specific user.
OwnerThe process is executed as the owner of the referenced object.
SelfThe process is executed in the context of the referenced object.

The sec enumeration class is served by the ExecutionContext property, the ExecutionContext property, and the ExecutionContext property.

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

Community Additions

© 2015 Microsoft