Partager via


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

Espace de noms :  Microsoft.SharePoint.DistributedCaching.Utilities
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
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 _
)
'Utilisation
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
)

Paramètres

Voir aussi

Référence

SPDistributedCacheHostInfo classe

SPDistributedCacheHostInfo - Membres

SPDistributedCacheHostInfo - Surcharge

Microsoft.SharePoint.DistributedCaching.Utilities - Espace de noms