Share via


NewCimSessionOptionCommand.Protocol Property

 

Gets and sets the Protocol parameter, which specifies the protocol to use.

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

Syntax

[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ProtocolTypeSet")]
public ProtocolType Protocol { get; set; }
public:
[ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true, 
    ParameterSetName = "ProtocolTypeSet")]
property ProtocolType Protocol {
    ProtocolType get();
    void set(ProtocolType value);
}
[<ParameterAttribute(Mandatory = true, Position = 0, ValueFromPipelineByPropertyName = true,
    ParameterSetName = "ProtocolTypeSet")>]
member Protocol : ProtocolType with get, set
<ParameterAttribute(Mandatory := True, Position := 0, ValueFromPipelineByPropertyName := True,
    ParameterSetName := "ProtocolTypeSet")>
Public Property Protocol As ProtocolType

Property Value

Type: Microsoft.Management.Infrastructure.CimCmdlets.ProtocolType

Returns ProtocolType.

See Also

NewCimSessionOptionCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace

Return to top