Delen via


JobServer.HostLoginName Property

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> _
Public ReadOnly Property HostLoginName As String
    Get
'Usage
Dim instance As JobServer
Dim value As String

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

Property Value

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

Remarks

This property is supported only in SQL Server 7.0 and SQL Server 2000.