Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: 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: BooleanIndicates if the app project should not be modified after link.
doNotModifyWebProject
Type: BooleanIndicates 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
- 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.