ExecuteContext.Principal 属性

Gets or sets the principal used to execute the statement.

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

语法

声明
Public Property Principal As ScalarExpression 
    Get 
    Set
用法
Dim instance As ExecuteContext 
Dim value As ScalarExpression 

value = instance.Principal

instance.Principal = value
public ScalarExpression Principal { get; set; }
public:
property ScalarExpression^ Principal {
    ScalarExpression^ get ();
    void set (ScalarExpression^ value);
}
member Principal : ScalarExpression with get, set
function get Principal () : ScalarExpression 
function set Principal (value : ScalarExpression)

属性值

类型:Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
The principal.

请参阅

参考

ExecuteContext 类

Microsoft.SqlServer.TransactSql.ScriptDom 命名空间