ServiceAccount propriété
Gets the service account under which the instance of SQL Server is running.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property ServiceAccount As String
Get
'Utilisation
Dim instance As Server
Dim value As String
value = instance.ServiceAccount
[SfcPropertyAttribute]
public string ServiceAccount { get; }
[SfcPropertyAttribute]
public:
property String^ ServiceAccount {
String^ get ();
}
[<SfcPropertyAttribute>]
member ServiceAccount : string
function get ServiceAccount () : String
Valeur de la propriété
Type : System. . :: . .String
A String value that specifies service account for the instance of SQL Server.
Voir aussi
Référence
Planning a SQL Server Installation