次の方法で共有


WssInterop.CreateWssSite メソッド

サーバーと指定したプロジェクトの SharePoint サイトを作成します。

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

構文

'宣言
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/CreateWssSite", 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 CreateWssSite ( _
    projectUID As Guid, _
    wssServerUID As Guid, _
    wssWebFullUrl As String, _
    webTemplateLcid As Integer, _
    webTemplateName As String _
)
'使用
Dim instance As WssInterop
Dim projectUID As Guid
Dim wssServerUID As Guid
Dim wssWebFullUrl As String
Dim webTemplateLcid As Integer
Dim webTemplateName As String

instance.CreateWssSite(projectUID, wssServerUID, _
    wssWebFullUrl, webTemplateLcid, _
    webTemplateName)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/WssInterop/CreateWssSite", 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 CreateWssSite(
    Guid projectUID,
    Guid wssServerUID,
    string wssWebFullUrl,
    int webTemplateLcid,
    string webTemplateName
)

パラメーター

  • projectUID
    型: System.Guid

    プロジェクトの一意の識別子。

  • wssServerUID
    型: System.Guid

    サーバー ファーム内での一意の識別子。

  • wssWebFullUrl
    型: System.String

    作成する SharePoint サイトの完全な URL です。

  • webTemplateLcid
    型: System.Int32

    サイト テンプレートのロケール識別子を指定します。

  • webTemplateName
    型: System.String

    サイト テンプレートの名前です。

注釈

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

ManageWindowsSharePointServicesアクセス許可が明示的に拒否されていない、 CreateWssSiteメソッドは、ユーザーに次のアクセス許可のいずれかのかどうかを確認します。

権限

説明

ManageWindowsSharePointServices

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

NewProject

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

PublishProject

指定したプロジェクトを発行することができます。カテゴリのアクセス権。

関連項目

参照先

WssInterop クラス

WssInterop メンバー

WebSvcWssInterop 名前空間

その他の技術情報

Locale ID (LCID) Chart