Condividi tramite


Proprietà JobServer.HostLoginName

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property HostLoginName As String 
    Get
'Utilizzo
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

Valore proprietà

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

Osservazioni

Questa proprietà è supportata solo in SQL Server 7.0 e SQL Server 2000.

Esempi

Pianificazione delle attività amministrative automatiche in SQL Server Agent

Vedere anche

Riferimento

JobServer Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent

Altre risorse

Automatizzazione delle attività amministrative (SQL Server Agent)

Stored procedure di SQL Server Agent (Transact-SQL)