Partilhar via


Propriedade BrowserStartMode

Gets the start mode for the SQL Server Browser service.

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

Sintaxe

'Declaração
<DisplayDescriptionKeyAttribute("Server_InstallSharedDirectoryDesc")> _
<DisplayNameKeyAttribute("Server_BrowserStartModeName")> _
ReadOnly Property BrowserStartMode As ServiceStartMode
    Get
'Uso
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

Valor da propriedade

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