Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Gets the system account under which the SQL Server service is running.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public ReadOnly Property ServiceAccount As String
Get
'Usage
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
Property Value
Type: System.String
A String value that specifies the system account under which the service is running.
Examples
Managing Services and Network Settings by Using WMI Provider
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace