Export (0) Print
Expand All

StoredProcedure.Startup Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Matrix)]
public bool Startup { get; set; }

Property Value

Type: Boolean
A Boolean value that specifies whether the stored procedure runs when the instance of SQL Server starts up.If True, the stored procedure runs at startup time.If False (default), the stored procedure does not run at startup time.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft