SPFormLibraryLocation Constructor(String,String,String,CredentialCache,String)
See Also 
SourceCode.Workflow.Design.InfoPath.FormTemplate Namespace > SPFormLibraryLocation Class > SPFormLibraryLocation Constructor : SPFormLibraryLocation Constructor(String,String,String,CredentialCache,String)



siteUrl
The URL of the site, e.g. e.g. http://myserver:8080/mysite.
formLibraryTitle
The title of the form library.
contentTypeName
The name of the content type.
credentials
The credential cache containing credentials to connect to the web server.
contentTypeID

Glossary Item Box

Specifies the location of an InfoPath form template that has been published to a SharePoint form library.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal siteUrl As String, _
   ByVal formLibraryTitle As String, _
   ByVal contentTypeName As String, _
   ByVal credentials As CredentialCache, _
   Optional ByVal contentTypeID As String _
)
Visual Basic (Usage)Copy Code
Dim siteUrl As String
Dim formLibraryTitle As String
Dim contentTypeName As String
Dim credentials As CredentialCache
Dim contentTypeID As String
 
Dim instance As New SPFormLibraryLocation(siteUrl, formLibraryTitle, contentTypeName, credentials, contentTypeID)

Parameters

siteUrl
The URL of the site, e.g. e.g. http://myserver:8080/mysite.
formLibraryTitle
The title of the form library.
contentTypeName
The name of the content type.
credentials
The credential cache containing credentials to connect to the web server.
contentTypeID

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also