Click or drag to resize

IStorageProviderDeleteGraph Method (String)

Deletes a Graph from the Store.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
void DeleteGraph(
	string graphUri
)

Parameters

graphUri
Type: SystemString
URI of the Graph to be deleted.
Exceptions
ExceptionCondition
NotSupportedExceptionMay be thrown if the underlying Store is not capable of doing Deleting a Graph.
RdfStorageExceptionMay be thrown if the underlying Store is not capable of Deleting a Graph or an error occurs while performing the delete.
Remarks

Note: Not all Stores are capable of Deleting a Graph so it is acceptable for such a Store to throw a NotSupportedException or an RdfStorageException if the Store cannot provide this functionality.

See Also