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 命名空間