Gets or sets the name of the server. The default value is 'localhost'.
Namespace: MSBuild.Community.Tasks.IIS
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Property ServerName As String |
| C# |
|---|
| public string ServerName { get; set; } |
| C++ |
|---|
| public property string ServerName sealed { String get(); void set(String value); } |
| J# |
|---|
| /** property */ public string get_ServerName(); /** property */ public void set_ServerName(string value); |
| JScript |
|---|
| public function get ServerName() : String public function set ServerName(value : String); |
Property Value
The name of the server.
See Also
Documentation version 1.0.0.0.