ServerDdlTrigger.ExecutionContextLogin ServerDdlTrigger.ExecutionContextLogin ServerDdlTrigger.ExecutionContextLogin Property

Definition

Important

This API is not CLS-compliant.

Gets or sets the login under the context of which the server DDL trigger executes.

public:
 property System::String ^ ExecutionContextLogin { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone)]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcReference(typeof(Microsoft.SqlServer.Management.Smo.Login), "Server[@Name = '{0}']/Login[@Name = '{1}']", Mono.Cecil.CustomAttributeArgument[])]
[System.CLSCompliant(false)]
public string ExecutionContextLogin { get; set; }
Public Property ExecutionContextLogin As String
Property Value

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

Examples

Creating, Altering, and Removing Triggers

Remarks

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

Applies to