Freigeben über


JobServer.HostLoginName-Eigenschaft

Gets or sets the login used to log in to SQL Server.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property HostLoginName As String 
    Get
'Usage
Dim instance As JobServer 
Dim value As String 

value = instance.HostLoginName
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string HostLoginName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property String^ HostLoginName {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member HostLoginName : string
function get HostLoginName () : String

Eigenschaftswert

Typ: System.String
A String value that specifies the path and file name of the of the error log file.

Hinweise

Diese Eigenschaft wird nur in SQL Server 7.0 und SQL Server 2000 unterstützt.

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

JobServer Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

Gespeicherte Prozeduren des SQL Server-Agents (Transact-SQL)