Share via


IServerSetupFacet.BrowserStartMode Property

Gets the start mode for the SQL Server Browser service.

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

Syntax

'Declaration
<DisplayNameKeyAttribute("Server_BrowserStartModeName")> _
<DisplayDescriptionKeyAttribute("Server_InstallSharedDirectoryDesc")> _
ReadOnly Property BrowserStartMode As ServiceStartMode 
    Get
'Usage
Dim instance As IServerSetupFacet 
Dim value As ServiceStartMode 

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

Property Value

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

Examples

Setting Properties

See Also

Reference

IServerSetupFacet Interface

Microsoft.SqlServer.Management.Smo Namespace