你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IWithSpatialIndexes<ParentT>.WithSpatialIndex 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WithSpatialIndex(SpatialSpec) |
指定空间索引。 |
WithSpatialIndex(String, SpatialType[]) |
指定空间索引。 |
WithSpatialIndex(SpatialSpec)
指定空间索引。
public Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithAttach<ParentT> WithSpatialIndex (Microsoft.Azure.Management.CosmosDB.Fluent.Models.SpatialSpec spatialSpec);
abstract member WithSpatialIndex : Microsoft.Azure.Management.CosmosDB.Fluent.Models.SpatialSpec -> Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithAttach<'ParentT>
Public Function WithSpatialIndex (spatialSpec As SpatialSpec) As IWithAttach(Of ParentT)
参数
- spatialSpec
- SpatialSpec
空间规格之一。
返回
定义的下一阶段。
适用于
WithSpatialIndex(String, SpatialType[])
指定空间索引。
public Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithAttach<ParentT> WithSpatialIndex (string path, params Microsoft.Azure.Management.CosmosDB.Fluent.Models.SpatialType[] types);
abstract member WithSpatialIndex : string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.SpatialType[] -> Microsoft.Azure.Management.CosmosDB.Fluent.IndexingPolicy.Definition.IWithAttach<'ParentT>
Public Function WithSpatialIndex (path As String, ParamArray types As SpatialType()) As IWithAttach(Of ParentT)
参数
- path
- String
空间索引的路径。
- types
- SpatialType[]
空间索引的类型。
返回
定义的下一阶段。