IBucketManager InsertDesignDocumentAsync Method Couchbase .NET SDK 2.1.0 Documentation
Inserts a design document containing a number of views.

Namespace: Couchbase.Management
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
Task<IResult> InsertDesignDocumentAsync(
	string designDocName,
	string designDoc
)

Parameters

designDocName
Type: System String
The name of the design document.
designDoc
Type: System String
A design document JSON string.

Return Value

Type: Task IResult 
A boolean value indicating the result.
See Also