SPVirtualServer.HostName property
NOTE: This API is now obsolete.
已過時。取得虛擬伺服器的主機名稱。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", _
False)> _
Public ReadOnly Property HostName As String
Get
'用途
Dim instance As SPVirtualServer
Dim value As String
value = instance.HostName
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",
false)]
public string HostName { get; }
Property value
Type: System.String
包含主機名稱的字串。