OssClientGetBucketCors Method |
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntaxpublic IList<CORSRule> GetBucketCors(
string bucketName
)
Public Function GetBucketCors (
bucketName As String
) As IList(Of CORSRule)
public:
virtual IList<CORSRule^>^ GetBucketCors(
String^ bucketName
) sealed
abstract GetBucketCors :
bucketName : string -> IList<CORSRule>
override GetBucketCors :
bucketName : string -> IList<CORSRule>
Parameters
- bucketName
- Type: SystemString
OssObject所在Bucket的名称。
Return Value
Type:
IListCORSRule跨域资源共享规则列表
Implements
IOssGetBucketCors(String)
See Also