Share via


ConnectionSettings.UserName Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets the user name used in the connection settings.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As ConnectionSettings
Dim value As String

value = instance.UserName

instance.UserName = value

Syntax

'Declaration
Public Property UserName As String
public string UserName { get; set; }
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 String that contains the user name used in the connection settings.

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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

ConnectionSettings Class
ConnectionSettings Members
Microsoft.EnterpriseManagement.Common Namespace