TechNet
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)

[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[SfcReferenceAttribute(typeof(Login), "Server[@Name = '{0}']/Login[@Name = '{1}']", 
	new string[] { ... })]
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.

Return to top
Show:
© 2016 Microsoft