Share via


Service.StartupParameters Property

Gets or sets any startup parameters for the SQL Server service.

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

Syntax

'Declaration
Public Property StartupParameters As String
    Get
    Set
'Usage
Dim instance As Service
Dim value As String

value = instance.StartupParameters

instance.StartupParameters = value
public string StartupParameters { get; set; }
public:
property String^ StartupParameters {
    String^ get ();
    void set (String^ value);
}
member StartupParameters : string with get, set
function get StartupParameters () : String
function set StartupParameters (value : String)

Property Value

Type: System.String
A String value that specifies the startup parameters for the SQL Server service.