Click or drag to resize
OssClientDoesBucketExist Method
Checks if the bucket exists

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax
public bool DoesBucketExist(
	string bucketName
)

Parameters

bucketName
Type: SystemString
Bucket name

Return Value

Type: Boolean
True when the bucket exists under the current user; Otherwise returns false.

Implements

IOssDoesBucketExist(String)
See Also