NewCimInstanceCommand.CimSession Property
Gets and sets the CimSession parameter, which specifies the CimSession to use for creating the instances.
Namespace: Microsoft.Management.Infrastructure.CimCmdlets
Assembly: Microsoft.Management.Infrastructure.CimCmdlets (in Microsoft.Management.Infrastructure.CimCmdlets.dll)
Syntax
[ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "ClassNameSessionSet")]
[ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "ResourceUriSessionSet")]
[ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "CimClassSessionSet")]
public CimSession[] CimSession { get; set; }
public:
[ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "ClassNameSessionSet")]
[ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "ResourceUriSessionSet")]
[ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "CimClassSessionSet")]
property array<CimSession^>^ CimSession {
array<CimSession^>^ get();
void set(array<CimSession^>^ value);
}
[<ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "ClassNameSessionSet")>]
[<ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "ResourceUriSessionSet")>]
[<ParameterAttribute(Mandatory = true, ValueFromPipeline = true,
ParameterSetName = "CimClassSessionSet")>]
member CimSession : CimSession[] with get, set
<ParameterAttribute(Mandatory := True, ValueFromPipeline := True,
ParameterSetName := "ClassNameSessionSet")>
<ParameterAttribute(Mandatory := True, ValueFromPipeline := True,
ParameterSetName := "ResourceUriSessionSet")>
<ParameterAttribute(Mandatory := True, ValueFromPipeline := True,
ParameterSetName := "CimClassSessionSet")>
Public Property CimSession As CimSession()
Property Value
Type: Microsoft.Management.Infrastructure.CimSession[]
Returns CimSession.
See Also
NewCimInstanceCommand Class
Microsoft.Management.Infrastructure.CimCmdlets Namespace
Return to top