SPServerProductInfo.ServerName property
Name of this server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property ServerName As String
Get
'Usage
Dim instance As SPServerProductInfo
Dim value As String
value = instance.ServerName
public string ServerName { get; }
Property value
Type: System.String
A String representation of the server name.