Partager via


Propriété LoginName

Gets the name of the login executing the batch.

Espace de noms :  Microsoft.SqlServer.Management.MultiServerConnection
Assembly :  Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntaxe

'Déclaration
Public ReadOnly Property LoginName As String
    Get
'Utilisation
Dim instance As ResultInfo
Dim value As String

value = instance.LoginName
public string LoginName { get; }
public:
virtual property String^ LoginName {
    String^ get () sealed;
}
abstract LoginName : string
override LoginName : string
final function get LoginName () : String

Valeur de propriété

Type : System. . :: . .String
A String that contains the login name.

Implémente

IResultInfo. . :: . .LoginName