Proprietà UserName
Gets the database user that is mapped to the login in the database.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<SfcPropertyAttribute> _
Public ReadOnly Property UserName As String
Get
'Utilizzo
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
Valore proprietà
Tipo: System. . :: . .String
A String value that specifies the database user.
Vedere anche