ComponentInstallation Constructor (componentCode, szUserSid, dwContext)

DTF API

Copy image CopyHover image
Deployment Tools Foundation ComponentInstallation Constructor (componentCode, szUserSid, dwContext)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerComponentInstallationComponentInstallation(String, String, UserContexts)
Creates a new ComponentInstallation, automatically detecting the product that the component is a part of.
Declaration Syntax
C# Visual Basic Visual C++ F#
public ComponentInstallation(
	string componentCode,
	string szUserSid,
	UserContexts dwContext
)
Public Sub New ( 
	componentCode As String,
	szUserSid As String,
	dwContext As UserContexts
)
public:
ComponentInstallation(
	String^ componentCode, 
	String^ szUserSid, 
	UserContexts dwContext
)
new : 
        componentCode : string * 
        szUserSid : string * 
        dwContext : UserContexts -> ComponentInstallation
Parameters
componentCode (String)
component GUID
szUserSid (String)
context user SID
dwContext (UserContexts)
user contexts

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)