共用方式為


DataCacheSecurity.ProtectionLevel 屬性

DataCacheSecurity 物件設定的 ProtectionLevel

命名空間: Microsoft.ApplicationServer.Caching
組件: Microsoft.ApplicationServer.Caching.Core (於 microsoft.applicationserver.caching.core.dll)

使用方式

語法

'宣告
Public ReadOnly Property ProtectionLevel As DataCacheProtectionLevel
public DataCacheProtectionLevel ProtectionLevel { get; }
public:
property DataCacheProtectionLevel ProtectionLevel {
    DataCacheProtectionLevel get ();
}
/** @property */
public DataCacheProtectionLevel get_ProtectionLevel ()
public function get ProtectionLevel () : DataCacheProtectionLevel

屬性值

傳回為 DataCacheSecurity 物件設定的 DataCacheProtectionLevel

執行緒安全性

此類型的所有 public static (Shared (於 Visual Basic 中)) 成員都是安全執行緒。但不保證任何執行緒成員的執行緒都是安全的。

平台

開發平台

Visual Studio 2010 與更新版本, .NET Framework 4

目標平台

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

另請參閱

參考資料

DataCacheSecurity 類別
DataCacheSecurity 成員
Microsoft.ApplicationServer.Caching 命名空間