Compartilhar via


SolutionPackage constructor (Version, Uri, String, String, String, Version)

Construtor

Namespace:  Microsoft.Office.SharePoint.ClientExtensions.Publishing
Assembly:  Microsoft.Office.SharePoint.ClientExtensions (in Microsoft.Office.SharePoint.ClientExtensions.dll)

Syntax

'Declaração
Public Sub New ( _
    clientVersion As Version, _
    webUrl As Uri, _
    srcDocLibRelativePath As String, _
    solutionName As String, _
    solutionId As String, _
    version As Version _
)
'Uso
Dim clientVersion As Version
Dim webUrl As Uri
Dim srcDocLibRelativePath As String
Dim solutionName As String
Dim solutionId As String
Dim version As Version

Dim instance As New SolutionPackage(clientVersion, _
    webUrl, srcDocLibRelativePath, solutionName, _
    solutionId, version)
public SolutionPackage(
    Version clientVersion,
    Uri webUrl,
    string srcDocLibRelativePath,
    string solutionName,
    string solutionId,
    Version version
)

Parâmetros

  • webUrl
    Type: System.Uri

    A url do site que contém a solução. Ele também é o site de onde o pacote está a ser publicado

  • srcDocLibRelativePath
    Type: System.String

    A url relativa da biblioteca de documentos que contém os artefatos de pronto para o cliente

Ver também

Referência

SolutionPackage class

SolutionPackage members

SolutionPackage overload

Microsoft.Office.SharePoint.ClientExtensions.Publishing namespace