UserNamePasswordElement.UserName Property
[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets or sets the username the binding will use to authorize with the Service Bus relay server.
Namespace: Microsoft.ServiceBus.Configuration
Assembly: Microsoft.ServiceBus (in microsoft.servicebus.dll)
Usage
Dim instance As UserNamePasswordElement
Dim value As String
value = instance.UserName
instance.UserName = value
Syntax
'Declaration
<ConfigurationPropertyAttribute("userName", DefaultValue:="")> _
<StringValidatorAttribute(MinLength:=0, MaxLength:=255)> _
Public Property UserName As String
[ConfigurationPropertyAttribute("userName", DefaultValue="")]
[StringValidatorAttribute(MinLength=0, MaxLength=255)]
public string UserName { get; set; }
[ConfigurationPropertyAttribute(L"userName", DefaultValue=L"")]
[StringValidatorAttribute(MinLength=0, MaxLength=255)]
public:
property String^ UserName {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_UserName ()
/** @property */
public void set_UserName (String value)
public function get UserName () : String
public function set UserName (value : String)
Property Value
Returns the user name to be used by the binding.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
See Also
Reference
UserNamePasswordElement Class
UserNamePasswordElement Members
Microsoft.ServiceBus.Configuration Namespace