共用方式為


IWithStandardAttach<ParentT>.WithCompressionEnabled(Boolean) 方法

定義

設定壓縮狀態。

public Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.UpdateDefinition.IWithStandardAttach<ParentT> WithCompressionEnabled (bool compressionEnabled);
abstract member WithCompressionEnabled : bool -> Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.UpdateDefinition.IWithStandardAttach<'ParentT>
Public Function WithCompressionEnabled (compressionEnabled As Boolean) As IWithStandardAttach(Of ParentT)

參數

compressionEnabled
Boolean

如果為 true,則會啟用壓縮,否則為停用。

傳回

適用於