共用方式為


ServiceAccount 屬性

Gets the system account under which the SQL Server service is running.

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

語法

'宣告
Public ReadOnly Property ServiceAccount As String
    Get
'用途
Dim instance As Service
Dim value As String

value = instance.ServiceAccount
public string ServiceAccount { get; }
public:
property String^ ServiceAccount {
    String^ get ();
}
member ServiceAccount : string
function get ServiceAccount () : String

屬性值

型別:System. . :: . .String
A String value that specifies the system account under which the service is running.