Export (0) Print
Expand All

Resource Object object

The Resource object is an object automatically created by the Generic Script resource DLL for each instance of a scripted resource. Your script can use the methods and properties of the Resource object to identify the resource, log information about the resource, and manipulate private properties.

Methods

The Resource Object object has these methods.

MethodDescription
AddProperty

Adds a new private property to the resource instance.

LogInformation

Writes a string to the cluster event log.

Name

Returns the name of the resource instance.

RemoveProperty

Removes a private property from this resource instance.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 Datacenter, Windows Server 2003 Enterprise

 

 

Show:
© 2014 Microsoft