Share via


DataSourceDefinition.ImpersonateUserSpecified Property

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

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

Syntax

'Declaration
Public Property ImpersonateUserSpecified As Boolean
    Get
    Set
'Usage
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)

Property Value

Type: System.Boolean
true if the ImpersonateUser property should be omitted from the Web service call; otherwise, false. The default is false.

Remarks

For more information about omitting properties see Omitting Values for Optional Web Service Objects.