次の方法で共有


WssInterop.UpdateProjectSitePaths メソッド

プロジェクト サイトの URL の場所を変更、ユーザーの権限を同期し更新の問題とドキュメント プロジェクト サーバーの強化されたリストのリスト。

名前空間:  WebSvcWssInterop
アセンブリ:  ProjectServerServices (ProjectServerServices.dll 内)

構文

'宣言
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/UpdateProjectSitePaths", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub UpdateProjectSitePaths ( _
    oldWebAppUid As Guid, _
    oldSitePath As String, _
    newWebAppUid As Guid, _
    newSitePath As String, _
    updateContentTypes As Boolean, _
    synchronizeSitePermissions As Boolean _
)
'使用
Dim instance As WssInterop
Dim oldWebAppUid As Guid
Dim oldSitePath As String
Dim newWebAppUid As Guid
Dim newSitePath As String
Dim updateContentTypes As Boolean
Dim synchronizeSitePermissions As Boolean

instance.UpdateProjectSitePaths(oldWebAppUid, _
    oldSitePath, newWebAppUid, newSitePath, _
    updateContentTypes, synchronizeSitePermissions)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/UpdateProjectSitePaths", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/WssInterop/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void UpdateProjectSitePaths(
    Guid oldWebAppUid,
    string oldSitePath,
    Guid newWebAppUid,
    string newSitePath,
    bool updateContentTypes,
    bool synchronizeSitePermissions
)

パラメーター

  • oldWebAppUid
    型: System.Guid

    ReadProjectSiteBaseUrlsによって返されると、現在の web アプリケーションの GUID を指定します。一緒に、 oldWebAppUidとoldSitePathのパラメーター設定を移行するにを一意に識別します。

  • oldSitePath
    型: System.String

    サイトの現在のパスの URL です。null 参照 (Visual Basic のNothing )をすることができます。

  • newWebAppUid
    型: System.Guid

    更新された web アプリケーションの GUID を指定します。値は、 newSitePathがnull 参照 (Visual Basic のNothing )でない場合は、新しい GUID があります。場合newSitePathは、 null 参照 (Visual Basic のNothing )、 newWebAppUidnull 参照 (Visual Basic のNothing )を使用できます。

  • newSitePath
    型: System.String

    Web アプリケーションの更新の場所の URL。null 参照 (Visual Basic のNothing )をすることができます。

  • updateContentTypes
    型: System.Boolean

    True場合は、web アプリケーション内のコンテンツ タイプが更新されます。それ以外の場合、 false。

  • synchronizeSitePermissions
    型: System.Boolean

    Trueプロジェクト サイト URL の変更後に再同期するのには、サイトのアクセス許可の場合それ以外の場合、 false。

注釈

UpdateProjectSitePathsメソッドは、 Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/UpdateSites.aspx) の一括更新プロジェクト サイト ページに対応します。

ReadProjectSiteBaseUrlsメソッドを使用して、現在の web アプリケーションの GUID と URL です。両方指定した場合、 UpdateProjectSitePathsは、 oldSitePathパラメーターをnewSitePathパラメーターには、web アプリケーションのパスを新しい URL に変更されます。古いパスと新しいパスが両方が指定されていない、 UpdateProjectSitePathsは、現在の web アプリケーションでは、指定されたデータを更新します。

場合updateContentTypesは、 True、 UpdateProjectSitePathsは Project Server の拡張のリストをジェネリック型から懸案事項およびドキュメントのリストのコンテンツ タイプを更新します。

プロジェクト サーバーのアクセス許可

権限

説明

ManageWindowsSharePointServices

プロジェクト サイトを管理することができます。グローバル アクセス権。

ManageSiteServices

Active Directory の設定やデータベースのタイムアウトなどのサービスを管理することができます。グローバル アクセス権。

関連項目

参照先

WssInterop クラス

WssInterop メンバー

WebSvcWssInterop 名前空間