TrustLevel.PolicyFile プロパティ

定義

名前付きセキュリティ レベルのセキュリティ ポリシー設定を含む構成ファイル参照を取得または設定します。

public:
 property System::String ^ PolicyFile { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("policyFile", DefaultValue="internal", IsRequired=true)]
public string PolicyFile { get; set; }
[<System.Configuration.ConfigurationProperty("policyFile", DefaultValue="internal", IsRequired=true)>]
member this.PolicyFile : string with get, set
Public Property PolicyFile As String

プロパティ値

関連付けられているセキュリティ レベルのセキュリティ ポリシー設定を含む構成ファイル参照。

属性

次のコード例は、 PolicyFile プロパティの使用方法を示しています。 このコード例は、 TrustLevel クラスに提供されるより大きな例の一部です。

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

適用対象

こちらもご覧ください