Freigeben über


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.