Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal siteUrl As String, _ ByVal contentTypeName As String, _ ByVal credentials As CredentialCache _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim siteUrl As String Dim contentTypeName As String Dim credentials As CredentialCache Dim instance As New SPContentTypeLocation(siteUrl, contentTypeName, credentials) |
C# | |
---|---|
public SPContentTypeLocation( string siteUrl, string contentTypeName, CredentialCache credentials ) |
C++/CLI | |
---|---|
public: SPContentTypeLocation( String^ siteUrl, String^ contentTypeName, CredentialCache^ credentials ) |
Parameters
- siteUrl
- The URL of the site, e.g. e.g. http://myserver:8080/mysite.
- contentTypeName
- The name of the content type.
- credentials
- The credential cache containing credentials to connect to the web server.
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