다음을 통해 공유


ExecutionContextPrincipal 속성

Gets or sets the execution context principal for the user-defined function.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute> _
Public Property ExecutionContextPrincipal As String
    Get
    Set
‘사용 방법
Dim instance As UserDefinedFunction
Dim value As String

value = instance.ExecutionContextPrincipal

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

속성 값

형식: System. . :: . .String
A String value that specifies the server principal context in which the object is executed.

주의

If the ExecutionContext property is set to ExecuteAsPrincipal, a value is required for the ExecutionContextPrincipal property.

예제

속성 설정