更新:2007 年 11 月
取得或設定值,指出是否要接受重新導向。
命名空間: Microsoft.VisualStudio.TestTools.WebTesting
組件: Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
語法
Public Property FollowRedirects As Boolean
Dim instance As WebTestRequest
Dim value As Boolean
value = instance.FollowRedirects
instance.FollowRedirects = value
public bool FollowRedirects { get; set; }
public:
property bool FollowRedirects {
bool get ();
void set (bool value);
}
public function get FollowRedirects () : boolean
public function set FollowRedirects (value : boolean)
屬性值
如果接受重新導向,則為 true,否則為 false。預設值為 true。
使用權限
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。