Condividi tramite


SPServer.Local Property

Gets the local server where the object model code is running, which must be joined to the server farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared ReadOnly Property Local As SPServer
    Get
'Usage
Dim value As SPServer

value = SPServer.Local
public static SPServer Local { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPServer
An SPServer object that represents the server.

See Also

Reference

SPServer Class

SPServer Members

Microsoft.SharePoint.Administration Namespace