Share via


ExecutionContextLogin-Eigenschaft

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property ExecutionContextLogin As String
    Get
    Set
'Usage
Dim instance As ServerDdlTrigger
Dim value As String

value = instance.ExecutionContextLogin

instance.ExecutionContextLogin = value
[SfcPropertyAttribute]
public string ExecutionContextLogin { get; set; }
[SfcPropertyAttribute]
public:
property String^ ExecutionContextLogin {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
member ExecutionContextLogin : string with get, set
function get ExecutionContextLogin () : String
function set ExecutionContextLogin (value : String)

Eigenschaftenwert

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

Hinweise

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