共用方式為


NoExecuteAs 屬性

取得物件值,指定指令碼中是否包含預存程序和使用者定義函式的 EXECUTE AS 選項。

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared ReadOnly Property NoExecuteAs As ScriptOption
    Get
'用途
Dim value As ScriptOption

value = ScriptOption.NoExecuteAs
public static ScriptOption NoExecuteAs { get; }
public:
static property ScriptOption^ NoExecuteAs {
    ScriptOption^ get ();
}
static member NoExecuteAs : ScriptOption
static function get NoExecuteAs () : ScriptOption

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .ScriptOption
ScriptOption 物件,代表指令碼選項中的 NoExecuteAs

範例

指令碼