共用方式為


SPDistributedCacheHostInfo.CachePort property

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

Syntax

'宣告
Public Property CachePort As Integer
    Get
    Friend Set
'用途
Dim instance As SPDistributedCacheHostInfo
Dim value As Integer

value = instance.CachePort
public int CachePort { get; internal set; }

Property value

Type: System.Int32

請參閱

參照

SPDistributedCacheHostInfo class

SPDistributedCacheHostInfo members

Microsoft.SharePoint.DistributedCaching.Utilities namespace