Sets Name
Namespace: EAL.Interfaces.SystemAssembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)
Syntax
C# |
---|
void SetName(
string name
) |
Visual Basic |
---|
Sub SetName (
name As String
) |
Visual C++ |
---|
void SetName(
String^ name
) |
Parameters
- name
- Type: System..::..String
[Missing <param name="name"/> documentation for "M:EAL.Interfaces.System.ISystem.SetName(System.String)"]
Examples
Synchronous method
| Copy |
---|
private static void Method1()
{
using (IEALConnection ealConnection = new EALConnection())
{
ealConnection.Connect("192.168.0.10");
ealConnection.System.SetName("Drive1");
}
} |
Asynchronous method
| Copy |
---|
private static void Method2()
{
using (IEALConnection ealConnection = new EALConnection(true))
{
ealConnection.Connect("192.168.0.10");
ealConnection.System.SetName("Drive1");
ealConnection.WaitUntilQueueComplete();
}
} |
See Also