BucketManager.InsertDesignDocumentAsync Method Couchbase .NET SDK 2.0
Inserts a design document containing a number of views.

Namespace: Couchbase.Management
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public 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.

Implements

IBucketManager.InsertDesignDocumentAsync(String, String)
See Also