online source control
back to content
sign up free version control plan

SAWHSDK::setFileType

Description

Sets file type (mergeable or binary).

Syntax

int setFileType(
        String strRemoteFileFullName,
      boolean bMergeable,
        BaseDataProject bdobCanceled,
        BaseDataProject bdostrError
);

Parameters

strRemoteFileFullName
[in] Specifies the  full Name of the remote file.

bMergeable
[in] Specifies the type of the remote file.

bdobCanceled
[out] If the method fails, returns whether the operation is canceled.

bdostrError
[out] Returns the description of the result. If the operation succeeds, returns 'Completed'. If the operation fails, returns the error information.

Return Value

If the method succeeds, returns 0. If the method fails, returns other error codes.