ImpersonationInfo Constructor (ImpersonationMode)
Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub New ( _
mode As ImpersonationMode _
)
'Usage
Dim mode As ImpersonationMode
Dim instance As New ImpersonationInfo(mode)
public ImpersonationInfo(
ImpersonationMode mode
)
public:
ImpersonationInfo(
ImpersonationMode mode
)
new :
mode:ImpersonationMode -> ImpersonationInfo
public function ImpersonationInfo(
mode : ImpersonationMode
)
Parameters
- mode
Type: Microsoft.AnalysisServices.ImpersonationMode
An ImpersonationMode that contains the mode of impersonating.