共用方式為


SPServer.EncodedServerId property

會取得編碼的伺服器識別碼。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property EncodedServerId As Integer
    Get
    Friend Set
'用途
Dim instance As SPServer
Dim value As Integer

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

Property value

Type: System.Int32
整數,代表伺服器編碼識別碼。

請參閱

參照

SPServer class

SPServer members

Microsoft.SharePoint.Administration namespace