Share via


NewCimSessionOptionCommand.Impersonation Property

 

Gets and sets the Impersonation parameter, which is used to select the kind of impersonation to use, if any. This parameter only applies to the DCOM channel.

Namespace:   Microsoft.Management.Infrastructure.CimCmdlets
Assembly:  Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)

Syntax

[ParameterAttribute(ParameterSetName = "DcomParameterSet")]
public ImpersonationType Impersonation { get; set; }
public:
[ParameterAttribute(ParameterSetName = "DcomParameterSet")]
property ImpersonationType Impersonation {
    ImpersonationType get();
    void set(ImpersonationType value);
}
[<ParameterAttribute(ParameterSetName = "DcomParameterSet")>]
member Impersonation : ImpersonationType with get, set
<ParameterAttribute(ParameterSetName := "DcomParameterSet")>
Public Property Impersonation As ImpersonationType

Property Value

Type: Microsoft.Management.Infrastructure.Options.ImpersonationType

Returns ImpersonationType.

See Also

NewCimSessionOptionCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top