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.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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.

예제

속성 설정