ExecutionContext-Eigenschaft

Ruft den Ausführungskontext für die benutzerdefinierte Funktion ab oder legt ihn fest.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy)> _
Public Property ExecutionContext As ExecutionContext
    Get
    Set
'Usage
Dim instance As UserDefinedFunction
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)

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .ExecutionContext
Ein ExecutionContext-Objektwert, der den Ausführungskontext der benutzerdefinierten Funktion angibt.

Hinweise

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