Sdílet prostřednictvím


ISharePointAppSettings.LinkToWebProject(String, Boolean, Boolean) Method

Definition

Links to the web project specified by webProjectPath.

public string LinkToWebProject (string webProjectPath, bool doNotModifyAppProject = false, bool doNotModifyWebProject = false);
abstract member LinkToWebProject : string * bool * bool -> string
Public Function LinkToWebProject (webProjectPath As String, Optional doNotModifyAppProject As Boolean = false, Optional doNotModifyWebProject As Boolean = false) As String

Parameters

webProjectPath
String

The full path to the web project. null is accepted for removing the existing link to the web project.

doNotModifyAppProject
Boolean

Indicates if the app project should not be modified after link.

doNotModifyWebProject
Boolean

Indicates if the web project should not be modified after link.

Returns

The full path to the originally linked web project, or null if there is no web project linked before.

Applies to