ExecutionContextUser 属性

Gets or sets the database user that is the context used when the database DDL trigger executes.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute> _
Public Property ExecutionContextUser As String
    Get
    Set
用法
Dim instance As DatabaseDdlTrigger
Dim value As String

value = instance.ExecutionContextUser

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

属性值

类型:System. . :: . .String
A String value that specifies the database user that is the context used when the database DDL trigger executes.

注释

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

示例

设置属性