共用方式為


SPDistributedCacheServiceInstance constructor (String, String, SPServer, SPDistributedCacheService)

Namespace:  Microsoft.SharePoint.DistributedCaching.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub New ( _
    hostName As String, _
    name As String, _
    server As SPServer, _
    service As SPDistributedCacheService _
)
'用途
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
)

參數

請參閱

參照

SPDistributedCacheServiceInstance class

SPDistributedCacheServiceInstance members

SPDistributedCacheServiceInstance overload

Microsoft.SharePoint.DistributedCaching.Utilities namespace