Свойство LoginName

Gets the name of the login executing the batch.

Пространство имен:  Microsoft.SqlServer.Management.MultiServerConnection
Сборка:  Microsoft.SqlServer.Management.MultiServerConnection (в Microsoft.SqlServer.Management.MultiServerConnection.dll)

Синтаксис

'Декларация
ReadOnly Property LoginName As String
    Get
'Применение
Dim instance As IResultInfo
Dim value As String

value = instance.LoginName
string LoginName { get; }
property String^ LoginName {
    String^ get ();
}
abstract LoginName : string
function get LoginName () : String

Значение свойства

Тип: System. . :: . .String
A String that contains the login name of the user executing the batch.