다음을 통해 공유


BrowserStartMode 속성

Gets the start mode for the SQL Server Browser service.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<DisplayDescriptionKeyAttribute("Server_InstallSharedDirectoryDesc")> _
<DisplayNameKeyAttribute("Server_BrowserStartModeName")> _
ReadOnly Property BrowserStartMode As ServiceStartMode
    Get
‘사용 방법
Dim instance As IServerSetupFacet
Dim value As ServiceStartMode

value = instance.BrowserStartMode
[DisplayDescriptionKeyAttribute("Server_InstallSharedDirectoryDesc")]
[DisplayNameKeyAttribute("Server_BrowserStartModeName")]
ServiceStartMode BrowserStartMode { get; }
[DisplayDescriptionKeyAttribute(L"Server_InstallSharedDirectoryDesc")]
[DisplayNameKeyAttribute(L"Server_BrowserStartModeName")]
property ServiceStartMode BrowserStartMode {
    ServiceStartMode get ();
}
[<DisplayDescriptionKeyAttribute("Server_InstallSharedDirectoryDesc")>]
[<DisplayNameKeyAttribute("Server_BrowserStartModeName")>]
abstract BrowserStartMode : ServiceStartMode
function get BrowserStartMode () : ServiceStartMode

속성 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .ServiceStartMode
A ServiceStartMode value that specifies the start mode for the SQL Server Browser service.

예제

속성 설정