AddStartParameter Method
Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.
The AddStartParameter method appends a Microsoft SQL Server service startup option to those currently used by the service.
구문
object
.AddStartParameter(
str
)
Parts
object
Expression that evaluates to an object in the Applies To list.str
String that specifies a startup option. For more information about startup options and their effect, see SQL Server 서비스 시작 옵션 사용.
Prototype (C/C++)
HRESULT AddStartParameter(SQLDMO_LPCSTR NewValue);
주의
The list of SQL Server service startup options in use for an instance of SQL Server is visible in SQL Distributed Management Objects (SQL-DMO) through the Parameters collection of the Configuration object. To configure startup options persistently, use the Add and Remove methods of the Parameters collection.
The AddStartParameter method can be used on a disconnected SQLServer object referencing an instance of SQL Server not yet started. The Start method of the SQLServer object will then start the SQL Server service with the option specified.
중요 |
---|
Specifying startup options for the SQL Server service is supported for instances of SQL Server on Microsoft Windows. |