OtsClientCreateTableGroup Method Aliyun Open Services SDK for .NET
创建表组(Table Group)。

Namespace: Aliyun.OpenServices.OpenTableService
Assembly: Aliyun.OpenServices (in Aliyun.OpenServices.dll) Version: 1.0.5290.21916
Syntax

public void CreateTableGroup(
	string tableGroupName,
	PartitionKeyType partitionKeyType
)

Parameters

tableGroupName
Type: SystemString
表组(Table Group)名称。
partitionKeyType
Type: Aliyun.OpenServices.OpenTableServicePartitionKeyType
表示表组(Table Group)的数据分片键(Partition Key)的类型。

Implements

IOtsCreateTableGroup(String, PartitionKeyType)
Exceptions

ExceptionCondition
ArgumentException

tableGroupName为空引用或值为空字符串,

- 或 -

值违反了OTS名称的命名规则。

OtsException

OTS访问返回错误消息。

WebException

由于网络原因请求失败,

- 或 -

访问超时。

InvalidOperationException

返回结果解析错误。

See Also

Reference