ISharePointAppSettings.LinkToWebProject Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Links to the web project specified by webProjectPath.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function LinkToWebProject ( _
webProjectPath As String, _
doNotModifyAppProject As Boolean, _
doNotModifyWebProject As Boolean _
) As String
string LinkToWebProject(
string webProjectPath,
bool doNotModifyAppProject,
bool doNotModifyWebProject
)
Parameters
webProjectPath
Type: System.StringThe full path to the web project. nulla null reference (Nothing in Visual Basic) is accepted for removing the existing link to the web project.
doNotModifyAppProject
Type: System.BooleanIndicates if the app project should not be modified after link.
doNotModifyWebProject
Type: System.BooleanIndicates if the web project should not be modified after link.
Return Value
Type: System.String
The full path to the originally linked web project, or nulla null reference (Nothing in Visual Basic) if there is no web project linked before.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.