Service.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.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Wmi 命名空间