Aracılığıyla paylaş


WebApplicationInformation.TrustLevel Özellik

Tanım

Uygulama güven düzeyini alır.

public:
 property System::String ^ TrustLevel { System::String ^ get(); };
public string TrustLevel { get; }
member this.TrustLevel : string
Public ReadOnly Property TrustLevel As String

Özellik Değeri

Uygulama güven düzeyi.

Örnekler

Aşağıdaki örnekte, uygulama güven düzeyi bilgilerinin nasıl alın aldığı gösterilmektedir.

public string GetApplicationTrustLevel()
{
    // Get the name of the application trust level.
    return (string.Format(
        "Application trust level: {0}",
        ApplicationInformation.TrustLevel));
}
Public Function GetApplicationTrustLevel() As String
    ' Get the name of the application trust level.
    Return String.Format( _
    "Application trust level: {0}", _
    ApplicationInformation.TrustLevel())
End Function 'GetApplicationTrustLevel

Açıklamalar

Bu özelliğe erişmek için uygun izinler gerekir. İzinler bölümüne bakın.

Şunlara uygulanır