ConnectionSettings.UserName Property

Updated: April 16, 2012

Gets or sets the user name used in the connection settings. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ConnectionSettings Dim value As String value = instance.UserName instance.UserName = valuePublic Property UserName As Stringpublic 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 ValueReturns String that contains the user name used in the connection settings.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms