ClientRepositoryDeleteSingle Method (Int32)

Relativity Services API

Note: This API is now obsolete.

Deletes the specified Artifact.

Namespace:  kCura.Relativity.Client.Repositories
Assembly:  kCura.Relativity.Client (in kCura.Relativity.Client.dll) Version: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax

[ObsoleteAttribute("Use IClientManager instead. See https://platform.relativity.com/RelativityOne/Content/What_s_new/RSAPI_deprecation_process.htm for more details.")]
public void DeleteSingle(
	int artifactID
)

Parameters

artifactID
Type: SystemInt32
The Artifact ID to be deleted.

Implements

IGenericRepositoryTDeleteSingle(Int32)
Exceptions

ExceptionCondition
ExceptionAn APIException is thrown on an error. The Data collection will contain a "Result" key containing the WriteResult<T> from the underlying Create operation.
Remarks

Exceptions are thrown as an APIException with the Data object containing a WriteResultSet<T>.
See Also

Reference