ExecutionContextUser Property

DatabaseDdlTrigger.ExecutionContextUser Property

 

Gets or sets the database user that is the context used when the database DDL trigger executes.

This API is not CLS-compliant.

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

[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", 
	new string[] { ... })]
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
public string ExecutionContextUser { get; set; }

Property Value

Type: System.String

A String value that specifies the database user that is the context used when the database DDL trigger executes.

This property is required only when the ExecutionContext property is set to ExecuteAsUser.

Return to top
Show:
© 2016 Microsoft