DocumentClient Class
Updated: June 30, 2017
Provides a client-side logical representation for the Azure DocumentDB database service. This client is used to configure and execute requests against the service.
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)
| Name | Description | |
|---|---|---|
![]() | DocumentClient | Obsolete. Initializes a new instance of the Microsoft.Azure.Documents.Client.DocumentClient class using the specified Azure DocumentDB database service endpoint, a dictionary of resource tokens and a connection policy. |
![]() | DocumentClient | Initializes a new instance of the DocumentClient class using the specified DocumentDB service endpoint for the Azure DocumentDB database service, a list of permission objects and a connection policy. |
![]() | DocumentClient | Initializes a new instance of the DocumentClient class using the specified DocumentDB service endpoint, key, and connection policy for the Azure DocumentDB database service. |
![]() | DocumentClient | Initializes a new instance of the DocumentClient class using the specified service endpoint, an authorization key (or resource token) and a connection policy for the Azure DocumentDB database service. |
| Name | Description | |
|---|---|---|
![]() | CreateAttachmentAsync | Creates an attachment as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateAttachmentAsync | Creates an Attachment with the contents of the provided mediaStream as an asynchronous operation in the Azure DocumentDB database service. |
![]() | CreateAttachmentAsync | Creates an attachment as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateAttachmentAsync | Creates an attachment as an asynchronous operation in the Azure DocumentDB database service. |
![]() | CreateAttachmentQuery | Overloaded. This method creates a query for attachments in the Azure DocumentDB database service. It returns an IOrderedQueryable{Attachment}. |
![]() | CreateAttachmentQuery | Overloaded. This method creates a query for attachments in the Azure DocumentDB database service by using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateAttachmentQuery | Overloaded. This method creates a query for attachments in the Azure DocumentDB database service by using a SQL statement. It returns an IQueryable{dynamic}. |
![]() | CreateAttachmentQuery | Extension method to create a query for attachments in the Azure DocumentDB database service. |
![]() | CreateAttachmentQuery | Extension method to create a query for attachments in the Azure DocumentDB database service. |
![]() | CreateAttachmentQuery | Extension method to create a query for attachments in the Azure DocumentDB database service. |
![]() | CreateAttachmentQuery | Overloaded. This method creates a query for attachments in the Azure DocumentDB database service. |
![]() | CreateAttachmentQuery | Overloaded. This method creates a query for attachments in the Azure DocumentDB database service by using a SQL statement with parameterized values. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateAttachmentQuery | Overloaded. This method creates a query for attachments in the Azure DocumentDB database service by using a SQL statement. |
![]() | CreateAttachmentQuery | Extension method to create a query for attachments in the Azure DocumentDB database service. |
![]() | CreateAttachmentQuery | Extension method to create a query for attachments in the Azure DocumentDB database service. |
![]() | CreateAttachmentQuery | Extension method to create a query for attachments in the Azure DocumentDB database service. |
![]() | CreateConflictQuery | Overloaded. This method creates a query for conflicts under a collection in an Azure DocumentDB database service. It returns An IOrderedQueryable{Conflict}. |
![]() | CreateConflictQuery | Overloaded. This method creates a query for conflicts under a collection in an Azure DocumentDB database with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateConflictQuery | Overloaded. This method creates a query for conflicts under a collection in an Azure DocumentDB database service. It returns an IQueryable{Conflict}. |
![]() | CreateConflictQuery | Extension method to create a query for conflicts in the Azure DocumentDB database service. |
![]() | CreateConflictQuery | Extension method to create a query for conflicts in the Azure DocumentDB database service. |
![]() | CreateConflictQuery | Extension method to create a query for conflicts in the Azure DocumentDB database service. |
![]() | CreateDatabaseAsync | Creates a database resource as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateDatabaseIfNotExistsAsync | Creates(if doesn't exist) or gets(if already exists) a database resource as an asychronous operation in the Azure DocumentDB database service. You can check the status code from the response to determine whether the database was newly created(201) or existing database was returned(200) |
![]() | CreateDatabaseQuery | Overloaded. This method creates a query for database resources under an account in the Azure DocumentDB database service. It returns An IOrderedQueryable{Database}. |
![]() | CreateDatabaseQuery | Overloaded. This method creates a query for database resources under an Azure DocumentDB database account by using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateDatabaseQuery | Overloaded. This method creates a query for database resources under an Azure DocumentDB database account by using a SQL statement. It returns an IQueryable{dynamic}. |
![]() | CreateDocumentAsync | Creates a Document as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateDocumentAsync | Creates a document as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateDocumentChangeFeedQuery | Overloaded. This method creates a change feed query for documents under a collection in an Azure DocumentDB database service. |
![]() | CreateDocumentChangeFeedQuery | Extension method to create a change feed query for documents in the Azure DocumentDB database service. |
![]() | CreateDocumentCollectionAsync | Creates a collection as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateDocumentCollectionAsync | Creates a collection as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateDocumentCollectionIfNotExistsAsync | Creates(if doesn't exist) or gets(if already exists) a collection as an asychronous operation in the Azure DocumentDB database service. You can check the status code from the response to determine whether the collection was newly created(201) or existing collection was returned(200). |
![]() | CreateDocumentCollectionIfNotExistsAsync | Creates(if doesn't exist) or gets(if already exists) a collection as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateDocumentCollectionQuery | Overloaded. This method creates a query for collections under an Azure DocumentDB database database. It returns An IOrderedQueryable{DocumentCollection}. |
![]() | CreateDocumentCollectionQuery | Overloaded. This method creates a query for collections under an Azure DocumentDB database using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateDocumentCollectionQuery | Overloaded. This method creates a query for collections under an Azure DocumentDB database using a SQL statement. It returns an IQueryable{DocumentCollection}. |
![]() | CreateDocumentCollectionQuery | Extension method to create a query for document collections in the Azure DocumentDB database service. |
![]() | CreateDocumentCollectionQuery | Extension method to create a query for document collections in the Azure DocumentDB database service. |
![]() | CreateDocumentCollectionQuery | Extension method to create a query for document collections in the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database service. It returns IOrderedQueryable{Document}. |
![]() | CreateDocumentQuery | Obsolete. Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database service. It returns IOrderedQueryable{Document}. |
![]() | CreateDocumentQuery | Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateDocumentQuery | Obsolete. Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateDocumentQuery | Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database using a SQL statement. It returns an IQueryable{dynamic}. |
![]() | CreateDocumentQuery | Obsolete. Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database using a SQL statement. It returns an IQueryable{dynamic}. |
![]() | CreateDocumentQuery | Extension method to create a query for documents in the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Obsolete. Extension method to create a query for documents in the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Extension method to create a query for documents in the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Obsolete. Extension method to create a query for documents in the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Extension method to create a query for documents in the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Obsolete. Extension method to create a query for documents in the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Obsolete. Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database using a SQL statement with parameterized values. It returns an IQueryable{T}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateDocumentQuery | Obsolete. Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database using a SQL statement with parameterized values. It returns an IQueryable{T}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateDocumentQuery | Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database using a SQL statement. It returns an IQueryable{T}. |
![]() | CreateDocumentQuery | Obsolete. Overloaded. This method creates a query for documents under a collection in an Azure DocumentDB database using a SQL statement. It returns an IQueryable{T}. |
![]() | CreateDocumentQuery | Extension method to create a query for documents in the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Obsolete. Extension method to create a query for documents in the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Extension method to create a query for documents in the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Obsolete. Extension method to create a query for documents for the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Extension method to create a query for documents in the Azure DocumentDB database service. |
![]() | CreateDocumentQuery | Obsolete. Extension method to create a query for documents in the Azure DocumentDB database service. |
![]() | CreateOfferQuery | Overloaded. This method creates a query for offers under an Azure DocumentDB database account. It returns IOrderedQueryable{Offer}. |
![]() | CreateOfferQuery | Overloaded. This method creates a query for offers under an Azure DocumentDB database account using a SQL statement with parameterized values. It returns IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateOfferQuery | Overloaded. This method creates a query for offers under an Azure DocumentDB database account using a SQL statement. It returns IQueryable{dynamic}. |
![]() | CreatePermissionAsync | Creates a permission on a user object as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreatePermissionAsync | Creates a permission as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreatePermissionQuery | Overloaded. This method creates a query for permissions under a user in an Azure DocumentDB database service. It returns IOrderedQueryable{Permission}. |
![]() | CreatePermissionQuery | Overloaded. This method creates a query for permissions under a user in an Azure DocumentDB database using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreatePermissionQuery | Overloaded. This method creates a query for permissions under a user in an Azure DocumentDB database using a SQL statement. It returns IQueryable{dynamic}. |
![]() | CreatePermissionQuery | Extension method to create a query for permissions in the Azure DocumentDB database service. |
![]() | CreatePermissionQuery | Extension method to create a query for permissions in the Azure DocumentDB database service. |
![]() | CreatePermissionQuery | Extension method to create a query for permissions in the Azure DocumentDB database service. |
![]() | CreateStoredProcedureAsync | Creates a stored procedure as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateStoredProcedureAsync | Creates a stored procedure as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateStoredProcedureQuery | Overloaded. This method creates a query for stored procedures under a collection in an Azure DocumentDB database service. It returns An IOrderedQueryable{StoredProcedure}. |
![]() | CreateStoredProcedureQuery | Overloaded. This method creates a query for stored procedures under a collection in an Azure DocumentDB database using a SQL statement using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateStoredProcedureQuery | Overloaded. This method creates a query for stored procedures under a collection in an Azure DocumentDB database using a SQL statement. It returns an IQueryable{dynamic}. |
![]() | CreateStoredProcedureQuery | Extension method to create query for stored procedures in the Azure DocumentDB database service. |
![]() | CreateStoredProcedureQuery | Extension method to create query for stored procedures in the Azure DocumentDB database service. |
![]() | CreateStoredProcedureQuery | Extension method to create query for stored procedures in the Azure DocumentDB database service. |
![]() | CreateTriggerAsync | Creates a trigger as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateTriggerAsync | Creates a trigger as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateTriggerQuery | Overloaded. This method creates a query for triggers under a collection in an Azure DocumentDB database service. It returns An IOrderedQueryable{Trigger}. |
![]() | CreateTriggerQuery | Overloaded. This method creates a query for triggers under a collection in an Azure DocumentDB database using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateTriggerQuery | Overloaded. This method creates a query for triggers under a collection in an Azure DocumentDB database service. It returns an IQueryable{dynamic}. |
![]() | CreateTriggerQuery | Extension method to create query for triggers in the Azure DocumentDB database service. |
![]() | CreateTriggerQuery | Extension method to create query for triggers in the Azure DocumentDB database service. |
![]() | CreateTriggerQuery | Extension method to create query for triggers in the Azure DocumentDB database service. |
![]() | CreateUserAsync | Creates a user object as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateUserAsync | Creates a user as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateUserDefinedFunctionAsync | Creates a user defined function as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateUserDefinedFunctionAsync | Creates a user defined function as an asychronous operation in the Azure DocumentDB database service. |
![]() | CreateUserDefinedFunctionQuery | Overloaded. This method creates a query for udfs under a collection in an Azure DocumentDB database service. It returns An IOrderedQueryable{UserDefinedFunction}. |
![]() | CreateUserDefinedFunctionQuery | Overloaded. This method creates a query for udfs under a collection in an Azure DocumentDB database with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateUserDefinedFunctionQuery | Overloaded. This method creates a query for udfs under a collection in an Azure DocumentDB database using a SQL statement. It returns an IQueryable{dynamic}. |
![]() | CreateUserDefinedFunctionQuery | Extension method to create a query for user-defined functions in the Azure DocumentDB database service. |
![]() | CreateUserDefinedFunctionQuery | Extension method to create a query for user-defined functions in the Azure DocumentDB database service. |
![]() | CreateUserDefinedFunctionQuery | Extension method to create a query for user-defined functions in the Azure DocumentDB database service. |
![]() | CreateUserQuery | Overloaded. This method creates a query for users under an Azure DocumentDB database service. It returns IOrderedQueryable{User}. |
![]() | CreateUserQuery | Overloaded. This method creates a query for users under an Azure DocumentDB database using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
![]() | CreateUserQuery | Overloaded. This method creates a query for users under an Azure DocumentDB database service. It returns IQueryable{dyanamic}. |
![]() | CreateUserQuery | Extension method to create a query for users in the Azure DocumentDB database service. |
![]() | CreateUserQuery | Extension method to create a query for users in the Azure DocumentDB database service. |
![]() | CreateUserQuery | Extension method to create a query for users in the Azure DocumentDB database service. |
![]() | DeleteAttachmentAsync | Delete an Attachment from the the Azure DocumentDB database service as an asynchronous operation. |
![]() | DeleteAttachmentAsync | Delete an attachment as an asynchronous operation from the Azure DocumentDB database service. |
![]() | DeleteConflictAsync | Delete a Conflict from the Azure DocumentDB database service as an asynchronous operation. |
![]() | DeleteConflictAsync | Delete a conflict as an asynchronous operation from the Azure DocumentDB database service. |
![]() | DeleteDatabaseAsync | Delete a Database from the Azure DocumentDB database service as an asynchronous operation. |
![]() | DeleteDatabaseAsync | Delete a database as an asynchronous operation from the Azure DocumentDB database service. |
![]() | DeleteDocumentAsync | Delete a Document from the Azure DocumentDB database service as an asynchronous operation. |
![]() | DeleteDocumentAsync | Delete a document as an asynchronous operation from the Azure DocumentDB database service. |
![]() | DeleteDocumentCollectionAsync | Delete a DocumentCollection from the Azure DocumentDB database service as an asynchronous operation. |
![]() | DeleteDocumentCollectionAsync | Delete a collection as an asynchronous operation from the Azure DocumentDB database service. |
![]() | DeletePermissionAsync | Delete a Permission from the Azure DocumentDB database service as an asynchronous operation. |
![]() | DeletePermissionAsync | Delete a permission as an asynchronous operation from the Azure DocumentDB database service. |
![]() | DeleteStoredProcedureAsync | Delete a StoredProcedure from the Azure DocumentDB database service as an asynchronous operation. |
![]() | DeleteStoredProcedureAsync | Delete a stored procedure as an asynchronous operation from the Azure DocumentDB database service. |
![]() | DeleteTriggerAsync | Delete a Trigger from the Azure DocumentDB database service as an asynchronous operation. |
![]() | DeleteTriggerAsync | Delete a trigger as an asynchronous operation from the Azure DocumentDB database service. |
![]() | DeleteUserAsync | Delete a User from the Azure DocumentDB database service as an asynchronous operation. |
![]() | DeleteUserAsync | Delete a user as an asynchronous operation from the Azure DocumentDB database service. |
![]() | DeleteUserDefinedFunctionAsync | Delete a UserDefinedFunction from the Azure DocumentDB database service as an asynchronous operation. |
![]() | DeleteUserDefinedFunctionAsync | Delete a user defined function as an asynchronous operation from the Azure DocumentDB database service. |
![]() | Dispose | Disposes the client for the Azure DocumentDB database service. |
![]() | Equals | (Inherited from Object.) |
![]() | ExecuteStoredProcedureAsync | Executes a stored procedure against a collection as an asynchronous operation in the Azure DocumentDB database service. |
![]() | ExecuteStoredProcedureAsync | Executes a stored procedure against a partitioned collection in the Azure DocumentDB database service as an asynchronous operation, specifiying a target partition. |
![]() | ExecuteStoredProcedureAsync | Executes a stored procedure against a collection as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ExecuteStoredProcedureAsync | Executes a stored procedure against a collection as an asynchronous operation from the Azure DocumentDB database service. |
![]() | GetDatabaseAccountAsync | Read the DatabaseAccount from the Azure DocumentDB database service as an asynchronous operation. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | OpenAsync | Open the connection to validate that the client initialization is successful in the Azure DocumentDB database service. |
![]() | ReadAttachmentAsync | Reads an Attachment from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadAttachmentAsync | Reads an Attachment as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadAttachmentFeedAsync | Reads the feed (sequence) of Attachment for a document from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadAttachmentFeedAsync | Reads the feed (sequence) of attachments for a document as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadConflictAsync | Reads a Conflict from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadConflictAsync | Reads a Conflict as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadConflictFeedAsync | Reads the feed (sequence) of Conflict for a collection from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadConflictFeedAsync | Reads the feed (sequence) of conflicts for a collection as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadDatabaseAsync | Reads a Database from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadDatabaseAsync | Reads a Database as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadDatabaseFeedAsync | Reads the feed (sequence) of Database for a database account from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadDocumentAsync | Reads a Document from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadDocumentAsync | Reads a Document as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadDocumentAsync | Reads a Document as a generic type T from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadDocumentAsync | Reads a Document as a generic type T from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadDocumentCollectionAsync | Reads a DocumentCollection from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadDocumentCollectionAsync | Reads a DocumentCollection as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadDocumentCollectionFeedAsync | Reads the feed (sequence) of DocumentCollection for a database from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadDocumentCollectionFeedAsync | Reads the feed (sequence) of collections for a database as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadDocumentFeedAsync | Reads the feed (sequence) of documents for a specified collection from the Azure DocumentDB database service. This takes returns a ResourceResponse which will contain an enumerable list of dynamic objects. |
![]() | ReadDocumentFeedAsync | Reads the feed (sequence) of documents for a collection as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadMediaAsync | Retrieves the specified attachment content (aka media) from the Azure DocumentDB database service. |
![]() | ReadMediaMetadataAsync | Retrieves the metadata associated with the specified attachment content (aka media) as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadOfferAsync | Reads an Offer from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadOffersFeedAsync | Reads the feed (sequence) of Offer for a database account from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadPartitionKeyRangeFeedAsync | Reads the feed (sequence) of PartitionKeyRange for a database account from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadPartitionKeyRangeFeedAsync | Reads the feed (sequence) of PartitionKeyRange for a database account from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadPermissionAsync | Reads a Permission from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadPermissionAsync | Reads a Permission resource as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadPermissionFeedAsync | Reads the feed (sequence) of Permission for a user from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadPermissionFeedAsync | Reads the feed (sequence) of permissions for a user as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadStoredProcedureAsync | Reads a StoredProcedure from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadStoredProcedureAsync | Reads a StoredProcedure as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadStoredProcedureFeedAsync | Reads the feed (sequence) of StoredProcedure for a collection from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadStoredProcedureFeedAsync | Reads the feed (sequence) of stored procedures for a collection as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadTriggerAsync | Reads a Trigger from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadTriggerAsync | Reads a Trigger as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadTriggerFeedAsync | Reads the feed (sequence) of Trigger for a collection from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadTriggerFeedAsync | Reads the feed (sequence) of triggers for a collection as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadUserAsync | Reads a User from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadUserAsync | Reads a User as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadUserDefinedFunctionAsync | Reads a UserDefinedFunction from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadUserDefinedFunctionAsync | Reads a UserDefinedFunction as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadUserDefinedFunctionFeedAsync | Reads the feed (sequence) of UserDefinedFunction for a collection from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadUserDefinedFunctionFeedAsync | Reads the feed (sequence) of user defined functions for a collection as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReadUserFeedAsync | Reads the feed (sequence) of User for a database from the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReadUserFeedAsync | Reads the feed (sequence) of users for a database as an asynchronous operation from the Azure DocumentDB database service. |
![]() | ReplaceAttachmentAsync | Replaces a Attachment in the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReplaceAttachmentAsync | Replaces an attachment as an asynchronous operation in the Azure DocumentDB database service. |
![]() | ReplaceDocumentAsync | Replaces a Document in the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReplaceDocumentAsync | Replaces a Document in the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReplaceDocumentAsync | Replaces a document as an asynchronous operation in the Azure DocumentDB database service. |
![]() | ReplaceDocumentCollectionAsync | Replaces a document collection in the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReplaceDocumentCollectionAsync | Replaces a document collection as an asynchronous operation in the Azure DocumentDB database service. |
![]() | ReplaceOfferAsync | Replaces a Offer in the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReplacePermissionAsync | Replaces a Permission in the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReplacePermissionAsync | Replaces a permission as an asynchronous operation in the Azure DocumentDB database service. |
![]() | ReplaceStoredProcedureAsync | Replaces a StoredProcedure in the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReplaceStoredProcedureAsync | Replace the specified stored procedure in the Azure DocumentDB database service. |
![]() | ReplaceTriggerAsync | Replaces a Trigger in the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReplaceTriggerAsync | Replaces a trigger as an asynchronous operation in the Azure DocumentDB database service. |
![]() | ReplaceUserAsync | Replaces a user as an asynchronous operation in the Azure DocumentDB database service. |
![]() | ReplaceUserAsync | Replaces a User in the Azure DocumentDB database service as an asynchronous operation. |
![]() | ReplaceUserDefinedFunctionAsync | Replaces a user defined function as an asynchronous operation in the Azure DocumentDB database service. |
![]() | ReplaceUserDefinedFunctionAsync | Replaces a UserDefinedFunction in the Azure DocumentDB database service as an asynchronous operation. |
![]() | ToString | (Inherited from Object.) |
![]() | UpdateMediaAsync | Replaces the specified media's content as an asynchronous operation in the Azure DocumentDB database service. |
![]() | UpsertDocumentAsync | Upserts a Document as an asychronous operation in the Azure DocumentDB database service. |
![]() | UpsertDocumentAsync | Upserts a document as an asychronous operation in the Azure DocumentDB database service. |
![]() | UpsertPermissionAsync | Upserts a permission on a user object in the Azure DocumentDB database service as an asychronous operation. |
![]() | UpsertPermissionAsync | Upserts a permission as an asychronous operation in the Azure DocumentDB database service. |
![]() | UpsertStoredProcedureAsync | Upserts a stored procedure as an asychronous operation in the Azure DocumentDB database service. |
![]() | UpsertStoredProcedureAsync | Upserts a stored procedure as an asychronous operation in the Azure DocumentDB database service. |
![]() | UpsertTriggerAsync | Upserts a trigger as an asychronous operation in the Azure DocumentDB database service. |
![]() | UpsertTriggerAsync | Upserts a trigger as an asychronous operation in the Azure DocumentDB database service. |
![]() | UpsertUserAsync | Upserts a permission on a user object in the Azure DocumentDB database service as an asychronous operation. |
![]() | UpsertUserAsync | Upserts a user as an asychronous operation in the Azure DocumentDB database service. |
![]() | UpsertUserDefinedFunctionAsync | Upserts a user defined function as an asychronous operation in the Azure DocumentDB database service. |
![]() | UpsertUserDefinedFunctionAsync | Upserts a user defined function as an asychronous operation in the Azure DocumentDB database service. |
| Name | Description | |
|---|---|---|
![]() | IsDefined | Determines if a certain property is defined or not. (Defined by TypeCheckFunctionsExtensions.) |
![]() | IsNull | Determines if a certain property is null or not. (Defined by TypeCheckFunctionsExtensions.) |
![]() | IsPrimitive | Determines if a certain property is of premitive JSON type. (Defined by TypeCheckFunctionsExtensions.) |
The service client that encapsulates the endpoint and credentials and connection policy used to access the DocumentDB service. It is recommended to cache and reuse this instance within your application rather than creating a new instance for every operation.
When your app uses DocumentClient, you should call its IDisposable.Dispose implementation when you are finished using it. Depending on your programming technique, you can do this in one of two ways:
1. By using a language construct such as the using statement in C#. The using statement is actually a syntactic convenience. At compile time, the language compiler implements the intermediate language (IL) for a try/catch block.
using (DocumentClient client = new DocumentClient(new Uri("endpoint"), "authKey")) { ... }
2. By wrapping the call to the IDisposable.Dispose implementation in a try/catch block. The following example replaces the using block in the previous example with a try/catch/finally block.
DocumentClient client = new DocumentClient(new Uri("endpoint"), "authKey")) try{ ... } finally{ if (client != null) client.Dispose(); }
This type is thread safe.

