Freigeben über


BrowserServiceAccount-Eigenschaft

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
<DisplayNameKeyAttribute("Server_BrowserServiceAccountName")> _
<DisplayDescriptionKeyAttribute("Server_BrowserServiceAccountDesc")> _
ReadOnly Property BrowserServiceAccount As String
    Get
'Usage
Dim instance As IServerSetupFacet
Dim value As String

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

Eigenschaftswert

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