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

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}']", 
	)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[CLSCompliantAttribute(false)]
public string ExecutionContextLogin { get; set; }

Property Value

Type: System.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.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.