SPDistributedCacheServiceInstance constructor (String, String, SPServer, SPDistributedCacheService)
Namespace: Microsoft.SharePoint.DistributedCaching.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
hostName As String, _
name As String, _
server As SPServer, _
service As SPDistributedCacheService _
)
'Usage
Dim hostName As String
Dim name As String
Dim server As SPServer
Dim service As SPDistributedCacheService
Dim instance As New SPDistributedCacheServiceInstance(hostName, _
name, server, service)
public SPDistributedCacheServiceInstance(
string hostName,
string name,
SPServer server,
SPDistributedCacheService service
)
Parameters
- hostName
Type: System.String
- name
Type: System.String
- server
Type: Microsoft.SharePoint.Administration.SPServer
See also
Reference
SPDistributedCacheServiceInstance class
SPDistributedCacheServiceInstance members