Discuss this help topic in SecureBlackbox Forum

TElHTTPSWebDAVClient.MkCol

TElHTTPSWebDAVClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Creates a new collection resource.

Declaration

[C#]
    int MkCol(string URL, string IfHeader);

[VB.NET]
    Function MkCol(ByVal URL As String, ByVal IfHeader As String) As Integer

[Pascal]
    function MkCol(const URL : string; const IfHeader : string = '') : integer;

[C++]
    int32_t MkCol(const std::string &URL, const std::string &IfHeader);

[PHP]
    integer MkCol(string $URL, string $IfHeader)

[Java]
    int mkCol(String URL, String IfHeader);

Parameters

  • URL - URL of the new collection.
  • IfHeader - specifies the If header of the request.

Return value

    On success, returns server status code, otherwise returns -1.

Description

    Use this method to send the MKCOL request to the server (creates a new collection resource).

See also:     Delete     Put    

Discuss this help topic in SecureBlackbox Forum