IServerSetupFacet.BrowserServiceAccount 属性

Gets the service account for the SQL Server Browser service.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<DisplayDescriptionKeyAttribute("Server_BrowserServiceAccountDesc")> _
<DisplayNameKeyAttribute("Server_BrowserServiceAccountName")> _
ReadOnly Property BrowserServiceAccount As String 
    Get
用法
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

属性值

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

示例

设置属性

请参阅

参考

IServerSetupFacet 接口

Microsoft.SqlServer.Management.Smo 命名空间