TrustLevel.Name Propriedade

Definição

Recebe ou define um nível de segurança nomeado que é mapeado para um ficheiro de política.

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

Valor de Propriedade

Isso Name é mapeado para um ficheiro de política.

Atributos

Exemplos

O exemplo de código seguinte demonstra como usar a Name propriedade. Este exemplo de código faz parte de um exemplo maior fornecido para a 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)

Aplica-se a

Ver também