IOssSetObjectAcl Method (String, String, CannedAccessControlList) |
Sets the object ACL
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax void SetObjectAcl(
string bucketName,
string key,
CannedAccessControlList acl
)
Sub SetObjectAcl (
bucketName As String,
key As String,
acl As CannedAccessControlList
)
void SetObjectAcl(
String^ bucketName,
String^ key,
CannedAccessControlList acl
)
abstract SetObjectAcl :
bucketName : string *
key : string *
acl : CannedAccessControlList -> unit
Parameters
- bucketName
- Type: SystemString
Bucket name - key
- Type: SystemString
Key key - acl
- Type: Aliyun.OSSCannedAccessControlList
CannedAccessControlList instance
See Also