SPServerProductInfo.ServerName Property
Name of this server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.