Dela via


DscResourceInfo Class

Definition

Contains a DSC resource information.

public ref class DscResourceInfo
public class DscResourceInfo
type DscResourceInfo = class
Public Class DscResourceInfo
Inheritance
DscResourceInfo

Properties

CompanyName

Gets or sets company which owns this resource.

FriendlyName

Gets or sets friendly name defined for the resource.

HelpFile

Gets the help file path for the cmdlet.

ImplementedAs

Gets or sets a value which indicate how DSC resource is implemented.

Module

Module in which the DscResource is implemented in.

Name

Name of the DSC Resource.

ParentPath

Gets or sets parent folder, where the resource is defined It is the folder containing either the implementing module(=Path) or folder containing ".schema.mof". For native providers, Path will be null and only ParentPath will be present.

Path

Gets or sets of the file which implements the resource. For the resources which are defined using MOF file, this will be path to a module which resides in the same folder where schema.mof file is present. For composite resources, this will be the module which implements the resource.

Properties

Gets or sets properties of the resource.

ResourceType

Gets or sets resource type name.

Methods

UpdateProperties(IList<DscResourcePropertyInfo>)

Updates properties of the resource.

Applies to