Retrieves the contents of a design document.
Namespace: Couchbase.ManagementAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
SyntaxTask<IResult<string>> GetDesignDocumentAsync(
string designDocName
)
Task<IResult<string>> GetDesignDocumentAsync(
string designDocName
)
Function GetDesignDocumentAsync (
designDocName As String
) As Task(Of IResult(Of String))
Function GetDesignDocumentAsync (
designDocName As String
) As Task(Of IResult(Of String))
Task<IResult<String^>^>^ GetDesignDocumentAsync(
String^ designDocName
)
Task<IResult<String^>^>^ GetDesignDocumentAsync(
String^ designDocName
)
abstract GetDesignDocumentAsync :
designDocName : string -> Task<IResult<string>>
abstract GetDesignDocumentAsync :
designDocName : string -> Task<IResult<string>>
Parameters
- designDocName
- Type: System.String
The name of the design document.
Return Value
Type:
Task<IResult<String>>A design document object.
See Also