Freigeben über


SPDistributedCacheHostInfo-Konstruktor (String, Int32, Int32, Int32, Int32, String, SPDistributedCacheHostStatus, SPDistributedCacheClusterInfo)

Initialisiert eine neue Instanz des SPDistributedCacheHostInfo -Objekts, das die Werte der angegebenen Parameter verwendet.

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

Syntax

'Declaration
Public Sub New ( _
    hostName As String, _
    cachePort As Integer, _
    clusterPort As Integer, _
    arbitrationPort As Integer, _
    replicationPort As Integer, _
    serviceAccount As String, _
    status As SPDistributedCacheHostStatus, _
    parent As SPDistributedCacheClusterInfo _
)
'Usage
Dim hostName As String
Dim cachePort As Integer
Dim clusterPort As Integer
Dim arbitrationPort As Integer
Dim replicationPort As Integer
Dim serviceAccount As String
Dim status As SPDistributedCacheHostStatus
Dim parent As SPDistributedCacheClusterInfo

Dim instance As New SPDistributedCacheHostInfo(hostName, _
    cachePort, clusterPort, arbitrationPort, _
    replicationPort, serviceAccount, _
    status, parent)
public SPDistributedCacheHostInfo(
    string hostName,
    int cachePort,
    int clusterPort,
    int arbitrationPort,
    int replicationPort,
    string serviceAccount,
    SPDistributedCacheHostStatus status,
    SPDistributedCacheClusterInfo parent
)

Parameter

Siehe auch

Referenz

SPDistributedCacheHostInfo Klasse

SPDistributedCacheHostInfo-Member

SPDistributedCacheHostInfo-Überladung

Microsoft.SharePoint.DistributedCaching.Utilities-Namespace