SPGlobalAdmin.UnextendVirtualServer method (Uri, Boolean)
NOTE: This API is now obsolete.
若要移除網際網路資訊服務 (IIS) 網站SharePoint Foundation ,從 Web 應用程式所提供之網站,移除 IISSettings 物件和通話SPWebApplication類別之Unprovision方法。(在Windows SharePoint Services 2.0UnextendVirtualServer方法移除SharePoint Foundation從虛擬伺服器,並維持回溯相容性。)
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("To remove SharePoint from an IIS Web Site, remove the IISSettings object from the Web application that the site is serving, and call SPWebApplication.Unprovision().", _
False)> _
Public Sub UnextendVirtualServer ( _
uri As Uri, _
bDropContentDB As Boolean _
)
'用途
Dim instance As SPGlobalAdmin
Dim uri As Uri
Dim bDropContentDB As Boolean
instance.UnextendVirtualServer(uri, bDropContentDB)
[ObsoleteAttribute("To remove SharePoint from an IIS Web Site, remove the IISSettings object from the Web application that the site is serving, and call SPWebApplication.Unprovision().",
false)]
public void UnextendVirtualServer(
Uri uri,
bool bDropContentDB
)
參數
uri
Type: System.Uri指定伺服器絕對 URI。
bDropContentDB
Type: System.Boolean若要同時刪除內容資料庫 ; true否則,請false。