Share via


IMutableStoredProcedure.Startup Property

Gets or sets a value that specifies whether the stored procedure runs when the instance of SQL Server starts up.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Property Startup As Boolean
    Get
    Set
'Usage
Dim instance As IMutableStoredProcedure
Dim value As Boolean

value = instance.Startup

instance.Startup = value
bool Startup { get; set; }
property bool Startup {
    bool get ();
    void set (bool value);
}
abstract Startup : bool with get, set
function get Startup () : boolean
function set Startup (value : boolean)

Property Value

Type: System.Boolean
true if the stored procedure runs when the instance of SQL Server starts up; otherwise, false.

Implements

IStoredProcedure.Startup