WSFederationAuthenticationModule.Resource 属性

This is an optional property applicable when PassiveRedirectEnabled is set to true. Get or set this optional parameter to a URI that identifies the resource being accessed (relying party) to the STS.

命名空间: Microsoft.IdentityModel.Web
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim instance As WSFederationAuthenticationModule
Dim value As String

value = instance.Resource

instance.Resource = value

语法

声明
Public Property Resource As String
public string Resource { get; set; }
public:
property String^ Resource {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Resource ()

/** @property */
public void set_Resource (String value)
public function get Resource () : String

public function set Resource (value : String)

属性值

Returns String.

备注

This parameter manifests itself as wres query string parameter in WS-Federation protocol. The wtrealm parameter should be used instead of this parameter.

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

WSFederationAuthenticationModule 类
WSFederationAuthenticationModule 成员
Microsoft.IdentityModel.Web 命名空间