Share via


ProtectedConfiguration.ProtectedDataSectionName Bidang

Definisi

Nama bagian data yang dilindungi.

public: System::String ^ ProtectedDataSectionName;
public const string ProtectedDataSectionName;
val mutable ProtectedDataSectionName : string
Public Const ProtectedDataSectionName As String 

Nilai Bidang

Contoh

Contoh berikut menunjukkan cara menggunakan ProtectedDataSectionName properti untuk mengambil nama bagian data yang dilindungi.

// Get the protected section name.
string protectedSectionName =
    ProtectedConfiguration.ProtectedDataSectionName;
Console.WriteLine(
    "Protected section name: {0}",
     protectedSectionName);
' Get the Rsa provider name.
Dim protectedSectionName As String = _
ProtectedConfiguration.ProtectedDataSectionName
Console.WriteLine( _
"Protected section name: {0}", protectedSectionName)

Keterangan

Ini adalah variabel string konstan yang berisi nama bagian data yang dilindungi.

Berlaku untuk

Lihat juga