The name of the client as set by the client in the method SetClientName.
The name is an empty string by default.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ServerInstanceInfo
Dim value As String
value = instance.clientName
instance.clientName = value |
C# | |
---|
[MarshalAsAttribute(UnmanagedType.U1 |
UnmanagedType.I2 |
UnmanagedType.LPStr |
UnmanagedType.LPWStr)]
public string clientName |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also