Partilhar via


Propriedade BrowserServiceAccount

Gets the service account 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_BrowserServiceAccountDesc")> _
<DisplayNameKeyAttribute("Server_BrowserServiceAccountName")> _
ReadOnly Property BrowserServiceAccount As String
    Get
'Uso
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

Valor da propriedade

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