Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
[SfcReferenceAttribute(typeof(User), "Server[@Name = '{0}']/Database[@Name = '{1}']/User[@Name = '{2}']", 
	)]
[CLSCompliantAttribute(false)]
[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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.