ISharePointAppSettings.LinkToWebProject(String, Boolean, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.