createContainer.ServiceProperty property

The ServiceProperty sets the value of a service-defined property on the Creation Container object.

This property is write-only.

Syntax

createContainer.ServiceProperty = ServiceProperty

Property value

This property has the same name as the service-defined property.

Examples

The following JScript example uses the ServiceProperty to set the value of the service-defined properties, "MusicAlbum" and "MusicArtist", on a createContainer object.

var createContainer = serviceObject.CreateNewObject("Mp3");

createContainer.MusicAlbum = "Album Name";
createContainer.MusicArtist = "Artist Name";

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]

See also

Creation Container Object

Service Object

Storage Object