共用方式為


SPServer.Address Property

Gets or sets the primary server address, which can be an IP address or a computer name.

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

Syntax

Public Property Address As String
    Get
    Set

Dim instance As SPServer
Dim value As String

value = instance.Address

instance.Address = value
public string Address { get; set; }

Property Value

Type: System.String
A string that contains the server address.

See Also

Reference

SPServer Class

SPServer Members

Microsoft.SharePoint.Administration Namespace