IOssDoesBucketExist Method |
Checks if the bucket exists
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax bool DoesBucketExist(
string bucketName
)
Function DoesBucketExist (
bucketName As String
) As Boolean
bool DoesBucketExist(
String^ bucketName
)
abstract DoesBucketExist :
bucketName : string -> bool
Parameters
- bucketName
- Type: SystemString
Bucket name
Return Value
Type:
Boolean
True when the bucket exists under the current user;
Otherwise returns false.
See Also