IServerSetupFacet.BrowserServiceAccount Property

Gets the service account for the SQL Server Browser service.

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Server_BrowserServiceAccountDesc")> _
<DisplayNameKeyAttribute("Server_BrowserServiceAccountName")> _
ReadOnly Property BrowserServiceAccount As String
    Get
'Usage
Dim instance As IServerSetupFacet
Dim value As String

value = instance.BrowserServiceAccount
[DisplayDescriptionKeyAttribute("Server_BrowserServiceAccountDesc")]
[DisplayNameKeyAttribute("Server_BrowserServiceAccountName")]
string BrowserServiceAccount { get; }
[DisplayDescriptionKeyAttribute(L"Server_BrowserServiceAccountDesc")]
[DisplayNameKeyAttribute(L"Server_BrowserServiceAccountName")]
property String^ BrowserServiceAccount {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Server_BrowserServiceAccountDesc")>]
[<DisplayNameKeyAttribute("Server_BrowserServiceAccountName")>]
abstract BrowserServiceAccount : string
function get BrowserServiceAccount () : String

Property Value

Type: System.String
A String value that specifies the service account for the SQL Server Browser service.