Sdílet prostřednictvím


CimActivityImplementationContext Constructor

Definition

Create an instance of the CIM activity implementation class

public:
 CimActivityImplementationContext(Microsoft::PowerShell::Activities::ActivityImplementationContext ^ activityImplementationContext, System::String ^ computerName, System::Management::Automation::PSCredential ^ credential, System::String ^ certificateThumbprint, Nullable<System::Management::Automation::Runspaces::AuthenticationMechanism> authenticationMechanism, bool useSsl, System::UInt32 port, System::Management::Automation::Remoting::PSSessionOption ^ sessionOption, Microsoft::Management::Infrastructure::CimSession ^ session, Microsoft::Management::Infrastructure::Options::CimSessionOptions ^ cimSessionOptions, System::String ^ moduleDefinition, Uri ^ resourceUri);
public CimActivityImplementationContext (Microsoft.PowerShell.Activities.ActivityImplementationContext activityImplementationContext, string computerName, System.Management.Automation.PSCredential credential, string certificateThumbprint, System.Management.Automation.Runspaces.AuthenticationMechanism? authenticationMechanism, bool useSsl, uint port, System.Management.Automation.Remoting.PSSessionOption sessionOption, Microsoft.Management.Infrastructure.CimSession session, Microsoft.Management.Infrastructure.Options.CimSessionOptions cimSessionOptions, string moduleDefinition, Uri resourceUri);
new Microsoft.PowerShell.Activities.CimActivityImplementationContext : Microsoft.PowerShell.Activities.ActivityImplementationContext * string * System.Management.Automation.PSCredential * string * Nullable<System.Management.Automation.Runspaces.AuthenticationMechanism> * bool * uint32 * System.Management.Automation.Remoting.PSSessionOption * Microsoft.Management.Infrastructure.CimSession * Microsoft.Management.Infrastructure.Options.CimSessionOptions * string * Uri -> Microsoft.PowerShell.Activities.CimActivityImplementationContext
Public Sub New (activityImplementationContext As ActivityImplementationContext, computerName As String, credential As PSCredential, certificateThumbprint As String, authenticationMechanism As Nullable(Of AuthenticationMechanism), useSsl As Boolean, port As UInteger, sessionOption As PSSessionOption, session As CimSession, cimSessionOptions As CimSessionOptions, moduleDefinition As String, resourceUri As Uri)

Parameters

activityImplementationContext
ActivityImplementationContext
computerName
String
credential
PSCredential
certificateThumbprint
String
authenticationMechanism
Nullable<AuthenticationMechanism>
useSsl
Boolean
port
UInt32
sessionOption
PSSessionOption
session
CimSession
cimSessionOptions
CimSessionOptions
moduleDefinition
String
resourceUri
Uri

Applies to