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メソッドは、ユーザーに次のアクセス許可のいずれかのかどうかを確認します。
権限 |
説明 |
---|---|
プロジェクト サイトを管理することができます。グローバル アクセス権。 |
|
プロジェクトを作成することができます。グローバル アクセス権。 |
|
指定したプロジェクトを発行することができます。カテゴリのアクセス権。 |