Bring resource offline

Microsoft.Windows.Cluster.BringResourceOffline (Task)

This task brings the specified cluster resource offline

Element properties:

TargetMicrosoft.Windows.Cluster.Resource
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.Windows.Cluster.ControlClusterFromCommandLine Default

Source Code:

<Task ID="Microsoft.Windows.Cluster.BringResourceOffline" Accessibility="Public" Enabled="true" Target="ClusLibrary!Microsoft.Windows.Cluster.Resource" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Cluster.ControlClusterFromCommandLine">
<Operation>RESOURCE "$Target/Property[Type="System!System.Entity"]/DisplayName$" /OFFLINE</Operation>
<TimeoutSeconds>300</TimeoutSeconds>
</WriteAction>
</Task>