Propriedade do RDL UserName
Gets the database user that is mapped to the login in the database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SfcPropertyAttribute> _
Public ReadOnly Property UserName As String
Get
'Uso
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
Valor da propriedade
Tipo: System. . :: . .String
A String value that specifies the database user.
Consulte também