UserDefinedFunction.ExecutionContextPrincipal UserDefinedFunction.ExecutionContextPrincipal UserDefinedFunction.ExecutionContextPrincipal Property

Definition

Important

This API is not CLS-compliant.

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

public:
 property System::String ^ ExecutionContextPrincipal { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Deploy)]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", Mono.Cecil.CustomAttributeArgument[])]
[System.CLSCompliant(false)]
public string ExecutionContextPrincipal { get; set; }
Public Property ExecutionContextPrincipal As String
Property Value

A String value that specifies the server principal context in which the object is executed.

Examples

Setting Properties

Remarks

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

Applies to