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)
Syntaxpublic Task<IResult<string>> GetDesignDocumentAsync(
string designDocName
)
public Task<IResult<string>> GetDesignDocumentAsync(
string designDocName
)
Public Function GetDesignDocumentAsync (
designDocName As String
) As Task(Of IResult(Of String))
Public Function GetDesignDocumentAsync (
designDocName As String
) As Task(Of IResult(Of String))
public:
virtual Task<IResult<String^>^>^ GetDesignDocumentAsync(
String^ designDocName
) sealed
public:
virtual Task<IResult<String^>^>^ GetDesignDocumentAsync(
String^ designDocName
) sealed
abstract GetDesignDocumentAsync :
designDocName : string -> Task<IResult<string>>
override GetDesignDocumentAsync :
designDocName : string -> Task<IResult<string>>
abstract GetDesignDocumentAsync :
designDocName : string -> Task<IResult<string>>
override 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.
Implements
IBucketManager.GetDesignDocumentAsync(String)
See Also