SPServiceProxy constructor (String, SPFarm)
Initializes a new instance of the SPServiceProxy class.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Sub New ( _
name As String, _
farm As SPFarm _
)
'Usage
Dim name As String
Dim farm As SPFarm
Dim instance As New SPServiceProxy(name, farm)
protected SPServiceProxy(
string name,
SPFarm farm
)
Parameters
name
Type: System.StringThe name of the new service proxy.
farm
Type: Microsoft.SharePoint.Administration.SPFarmThe parent of the new service proxy.