Share via


SPGlobalConfig.ClusterGuid property

NOTE: This API is now obsolete.

Obsolete. Gets the GUID for the server farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.",  _
    False)> _
Public Shared ReadOnly Property ClusterGuid As Guid
    Get
'Usage
Dim value As Guid

value = SPGlobalConfig.ClusterGuid
[ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.", 
    false)]
public static Guid ClusterGuid { get; }

Property value

Type: System.Guid
A System.Guid that specifies the server farm.

See also

Reference

SPGlobalConfig class

SPGlobalConfig members

Microsoft.SharePoint.Administration namespace