Partilhar via


Propriedade do RDL LoginName

Gets the name of the login executing the batch.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (em Microsoft.SqlServer.Management.MultiServerConnection.dll)

Sintaxe

'Declaração
ReadOnly Property LoginName As String
    Get
'Uso
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

Valor da propriedade

Tipo: System. . :: . .String
A String that contains the login name of the user executing the batch.