Gets or sets the name of the server.
Syntax
Visual Basic (Declaration) | |
---|
<SourceCode.EnvironmentSettings.Client.FieldDisplayableAttribute(DisplayName="Server Name:",
PropertyBindingName="ServerName",
IsHostServerConnectionString=False)>
Public Property ServerName As String
|
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SMTPField
Dim value As String
instance.ServerName = value
value = instance.ServerName
|
C# | |
---|
[SourceCode.EnvironmentSettings.Client.FieldDisplayable(DisplayName="Server Name:",
PropertyBindingName="ServerName",
IsHostServerConnectionString=false)]
public string ServerName {get; set;}
|
C++/CLI | |
---|
[SourceCode.EnvironmentSettings.Client.FieldDisplayable(DisplayName="Server Name:",
PropertyBindingName="ServerName",
IsHostServerConnectionString=false)]
public:
property String^ ServerName {
String^ get();
void set ( String^ value);
}
|
Property Value
The name of the server.
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