Share via


ISharePointAppSettings.LinkToWebProject Method

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: String

    The 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: Boolean

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

  • doNotModifyWebProject
    Type: Boolean

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

Return Value

Type: 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

See Also

Reference

ISharePointAppSettings Interface

Microsoft.VisualStudio.SharePoint Namespace