Retrieves or sets the domain 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.Domain

Dim sampleValue As String
runOnceCommand1.Domain = sampleValue

Syntax

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

Property Value

The domain 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