CollectedFile Class

 

Contains a file collected for the FileCollection endpoint.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

System::Object
  Microsoft.ConfigurationManagement.Messaging.Messages::InventoryReportBodyElement
    Microsoft.ConfigurationManagement.Messaging.Messages::CollectedFile

[SerializableAttribute]
public ref class CollectedFile sealed : InventoryReportBodyElement

NameDescription
System_CAPS_pubmethodCollectedFile()

Initializes a new instance of the CollectedFile class.

System_CAPS_pubmethodCollectedFile(FileInfo^)

Initializes a new instance of the CollectedFile class.

System_CAPS_pubmethodCollectedFile(FileInfo^, Boolean)

Initializes a new instance of the CollectedFile class.

System_CAPS_pubmethodCollectedFile(String^)

Initializes a new instance of the CollectedFile class.

NameDescription
System_CAPS_pubpropertyContentType

Gets or sets the content type.

System_CAPS_pubpropertyFileName

Gets or sets the name of the file.

System_CAPS_pubpropertyFilePath

Gets or sets the on-disk path to the file.

System_CAPS_pubpropertyFileSize

Gets or sets the file size.

System_CAPS_pubpropertyId

Gets or sets the ID sequence for the file. This property should not be set manually. Use ConfigMgrFileCollectionMessage instead.

System_CAPS_pubpropertyLastWriteDate

Gets or sets the last write date.

System_CAPS_pubpropertyLastWriteDateString

Gets or sets the last write date as SMSTime. This property is only for serialization. Use LastWriteDate instead.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetFileBody()

Gets the body of the file.

System_CAPS_pubmethodGetFileInfo(String^)

Initializes the object with the file.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSetFileBody(array<Byte>^)

Sets the body of the file.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: