IDocumentDatabase.GetDocumentWriter<TDocument>(TableOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a document writer for the specified table and document type.
public:
generic <typename TDocument>
System::Cloud::DocumentDb::IDocumentWriter<TDocument> ^ GetDocumentWriter(System::Cloud::DocumentDb::TableOptions ^ options);
public System.Cloud.DocumentDb.IDocumentWriter<TDocument> GetDocumentWriter<TDocument>(System.Cloud.DocumentDb.TableOptions options);
abstract member GetDocumentWriter : System.Cloud.DocumentDb.TableOptions -> System.Cloud.DocumentDb.IDocumentWriter<'Document>
Public Function GetDocumentWriter(Of TDocument) (options As TableOptions) As IDocumentWriter(Of TDocument)
Type Parameters
- TDocument
The document entity type to be used as a table schema. The results of the request are mapped to an instance of this type.
Parameters
- options
- TableOptions
The table options.
Returns
The document writer.
Exceptions
An error occurred on the client side, for example, on a bad request, permissions error, or client timeout.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.