共用方式為


HostLoginName 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property HostLoginName As String
    Get
'用途
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

屬性值

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

備註

只有在 SQL Server 7.0 和 SQL Server 2000 中才支援此屬性。