Retrieves or sets the user name used to connect to the UNC driver path (optional). Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim driverPath1 As DriverPath

Dim returnValue As String
returnValue = driverPath1.UserName

Dim sampleValue As String
driverPath1.UserName = sampleValue

Syntax

Visual Basic
Public Property UserName() As String
C#
public string UserName {get; set;}
C++
public:
property String^ UserName {
		String^ get();
		void set(String^ value);
}
J#
public System.String get_UserName();
public void set_UserName(System.String);
JScript
public function get UserName() : String;
public function set UserName(String);

Property Value

The user name used to connect to the UNC driver path.

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

Target Platforms

See Also