Set the license for a document.

Namespace:  IpernityNET.IpernityObjects
Assembly:  IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)

Syntax

C#
public void SetLicense(
	License license
)
Visual Basic (Declaration)
Public Sub SetLicense ( _
	license As License _
)
Visual C++
public:
void SetLicense(
	License license
)

Parameters

license
Type: IpernityNET..::.License
The new License for the document.

Remarks

This method encapsulates doc.setLicense "write" permission on docs.

Exceptions

ExceptionCondition
IpernityNET..::.IpernityExceptionThrowed when Ipernity returned an error
IpernityNET.IpernityObjects..::.ObjectNotConfiguredExceptionThrowed when an Ipernity object has not been configured.

See Also