Condividi tramite


TrustLevel.Name Proprietà

Definizione

Ottiene o imposta un livello di sicurezza denominato mappato a un file di criteri.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("name", DefaultValue="Full", IsKey=true, IsRequired=true)]
[System.Configuration.StringValidator(MinLength=1)]
public string Name { get; set; }
[<System.Configuration.ConfigurationProperty("name", DefaultValue="Full", IsKey=true, IsRequired=true)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.Name : string with get, set
Public Property Name As String

Valore della proprietà

Oggetto Name mappato a un file di criteri.

Attributi

Esempio

Nell'esempio di codice seguente viene illustrato come utilizzare la Name proprietà . Questo esempio di codice fa parte di un esempio più ampio fornito per la TrustLevel classe .

// Get the Name of the TrustLevel object.
Console.WriteLine("Name: {0}", TrustLevel1.Name);
' Get the Name of the TrustLevel object.
Console.WriteLine("Name: {0}", TrustLevel1.Name)

Si applica a

Vedi anche