UserName propriété
Gets or sets the user name associated with the referenced mail server.
Espace de noms : Microsoft.SqlServer.Management.Smo.Mail
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute> _
Public Property UserName As String
Get
Set
'Utilisation
Dim instance As MailServer
Dim value As String
value = instance.UserName
instance.UserName = value
[SfcPropertyAttribute]
public string UserName { get; set; }
[SfcPropertyAttribute]
public:
property String^ UserName {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute>]
member UserName : string with get, set
function get UserName () : String
function set UserName (value : String)
Valeur de la propriété
Type : System. . :: . .String
A String value that specifies the name of the user associated with the referenced mail server.
Voir aussi