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
- hostName
Type : System.String
- cachePort
Type : System.Int32
- clusterPort
Type : System.Int32
- arbitrationPort
Type : System.Int32
- replicationPort
Type : System.Int32
- serviceAccount
Type : System.String
Voir aussi
Référence
SPDistributedCacheHostInfo classe
SPDistributedCacheHostInfo - Membres
SPDistributedCacheHostInfo - Surcharge
Microsoft.SharePoint.DistributedCaching.Utilities - Espace de noms