Share via


WPDObject.Service property

The Service property gets the Service object that contains this WPDObject.

This property is read-only.

Syntax

Service = WPDObject.Service

Property value

A Service object. If the current WPDObject is not contained within a Service object, then this property will return "undefined".

Remarks

This method is useful for determining which service a given object belongs to.

Requirements

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

See also

Service Object

WPDObject