共用方式為


DataSourceDefinition.ImpersonateUserSpecified 屬性

Gets or sets a value that indicates whether the ImpersonateUser property is specified.

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.dll 中)

語法

'宣告
Public Property ImpersonateUserSpecified As Boolean 
    Get 
    Set
'用途
Dim instance As DataSourceDefinition 
Dim value As Boolean 

value = instance.ImpersonateUserSpecified

instance.ImpersonateUserSpecified = value
public bool ImpersonateUserSpecified { get; set; }
public:
property bool ImpersonateUserSpecified {
    bool get ();
    void set (bool value);
}
member ImpersonateUserSpecified : bool with get, set
function get ImpersonateUserSpecified () : boolean 
function set ImpersonateUserSpecified (value : boolean)

屬性值

型別:System.Boolean
true if the ImpersonateUser property should be included in the Web service call; otherwise, false. The default is false.

備註

For more information about omitting properties, see 省略選擇性 Web 服務物件的值.

請參閱

參考

DataSourceDefinition 類別

ReportService2005 命名空間