本文件已封存並已停止維護。

VBScript Script Activity

更新日期: 2010年12月

適用於: System Center Service Manager 2010

This activity runs a VBScript script as part of a Windows Workflow Foundation (WF) workflow.

The VBScript Script activity depends upon the following prerequisites at design time:

The VBScript Script activity uses the following input properties.

 

Display Name Internal Name Type Required Description

Continue On Error

ContinueOnError

Boolean

No (default setting is True)

Determines whether the workflow continues to run if the activity fails.

Has Error

HasError

N/A

Specifies if the activity has an error set. (Read-only)

Management Group

ManagementGroupName

String

No

Specifies the Management Group to which the script server belongs. (By default, set to localhost) (Read-only)

Script Parameters

Parameters

Dictionary <string,string>

Yes

Provides the list of the standard switches and any associated values that this script uses when it runs.

Script Body

ScriptBody

String

Yes

Specifies the text of the script itself.

Script Server

Target

String

No

Specifies the Domain Name System (DNS) name of the server that runs the Service Manager console. Do not use localhost.

Script Time Limit

TimeoutSeconds

Integer

No (default setting is 300 seconds)

Specifies the maximum number of seconds to allow for the script to run.

The VBScript Script activity uses the custom tracking service supplied by Service Manager to log errors and exceptions when the activity runs. The activity generates errors or exceptions as appropriate if any of the script properties cannot be resolved.

顯示: