Właściwość UserName
Pobiera użytkownika bazy danych, który jest mapowany do identyfikatora logowania bazy danych.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Syntax
'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property UserName As String
Get
'Użycie
Dim instance As DatabaseMapping
Dim value As String
value = instance.UserName
[SfcPropertyAttribute]
public string UserName { get; }
[SfcPropertyAttribute]
public:
property String^ UserName {
String^ get ();
}
[<SfcPropertyAttribute>]
member UserName : string
function get UserName () : String
Wartość właściwości
Typ: System. . :: . .String
A String wartość określająca użytkownika bazy danych.
Zobacz także