UriFactory.CreateSchemaUri Method (String, String, String)
Given a database, collection and schema id, this creates a schema link.
Namespace: Microsoft.Azure.Documents.Client
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)
Syntax
public static Uri CreateSchemaUri(
string databaseId,
string collectionId,
string schemaId
)
public:
static Uri^ CreateSchemaUri(
String^ databaseId,
String^ collectionId,
String^ schemaId
)
Public Shared Function CreateSchemaUri (
databaseId As String,
collectionId As String,
schemaId As String
) As Uri
Parameters
databaseId
Type: System.StringThe database id
collectionId
Type: System.StringThe collection id
schemaId
Type: System.StringThe schema id
Return Value
Type: System.Uri
A schema link in the format of /dbs/{0}/colls/{1}/schemas/{2}/ with {0} being a Uri escaped version of the databaseId, {1} being collectionId and {2} being the schemaId
See Also
EscapeUriString
UriFactory Class
Microsoft.Azure.Documents.Client Namespace
Return to top