共用方式為


IServerSetupFacet.BrowserStartMode 屬性

Gets the start mode for the SQL Server Browser service.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("Server_BrowserStartModeName")> _
<DisplayDescriptionKeyAttribute("Server_InstallSharedDirectoryDesc")> _
ReadOnly Property BrowserStartMode As ServiceStartMode 
    Get
'用途
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

屬性值

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

範例

設定屬性

請參閱

參考

IServerSetupFacet 介面

Microsoft.SqlServer.Management.Smo 命名空間