Retrieves the user name used to access RunOnce if that executable
is on a network share. This setting is optional.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Dim runOnceCommand1 As RunOnceCommand
Dim returnValue As String
returnValue = runOnceCommand1.UserName
Dim sampleValue As String
runOnceCommand1.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 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