| OssClientDoesBucketExist Method  | 
            Checks if the bucket exists
            
 
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntaxpublic bool DoesBucketExist(
	string bucketName
)
Public Function DoesBucketExist ( 
	bucketName As String
) As Boolean
public:
virtual bool DoesBucketExist(
	String^ bucketName
) sealed
abstract DoesBucketExist : 
        bucketName : string -> bool 
override 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.
            
Implements
IOssDoesBucketExist(String)
See Also