Export (0) Print
Expand All

ServerDdlTrigger.ExecutionContextLogin Property

Gets or sets the login under the context of which the server 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(Login), "Server[@Name = '{0}']/Login[@Name = '{1}']", 
public string ExecutionContextLogin { get; set; }

Property Value

Type: String
A ServerDdlTriggerEventSet object that specifies the events that raise the server DDL trigger.

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

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

Community Additions

© 2015 Microsoft