Bagikan melalui


ContractDescription.ProtectionLevel Properti

Definisi

Mendapatkan atau menetapkan tingkat perlindungan keamanan yang terkait dengan kontrak.

public:
 property System::Net::Security::ProtectionLevel ProtectionLevel { System::Net::Security::ProtectionLevel get(); void set(System::Net::Security::ProtectionLevel value); };
public System.Net.Security.ProtectionLevel ProtectionLevel { get; set; }
member this.ProtectionLevel : System.Net.Security.ProtectionLevel with get, set
Public Property ProtectionLevel As ProtectionLevel

Nilai Properti

Untuk ProtectionLevel operasi.

Contoh

ProtectionLevel protectionLevel = cd.ProtectionLevel;
Console.WriteLine("\tProtection Level: {0}", protectionLevel.ToString());
Dim protectionLevel As ProtectionLevel = cd.ProtectionLevel
Console.WriteLine(Constants.vbTab & "Protection Level: {0}", protectionLevel.ToString())

Keterangan

ProtectionLevel Ketika diatur, HasProtectionLevel properti diatur ke true.

Berlaku untuk