ScriptOption.NoExecuteAs Property
Gets an object value that specifies whether the EXECUTE AS options for stored procedures and user-defined functions are included in the script.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared ReadOnly Property NoExecuteAs As ScriptOption
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the NoExecuteAsin the scripting options.