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) | ![]() |
---|---|
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) |
C# | |
---|---|
public SPFormLibraryLocation( string siteUrl, string formLibraryTitle, string contentTypeName, CredentialCache credentials, string contentTypeID ) |
C++/CLI | |
---|---|
public: SPFormLibraryLocation( String^ siteUrl, String^ formLibraryTitle, String^ contentTypeName, CredentialCache^ credentials, String^ 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
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