Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCPolicyRule::SetSchedule[C++]

FPCPolicyRule.SetSchedule [Visual Basic]

[C++]

The SetSchedule method sets the schedule to which the rule applies.

HRESULT SetSchedule(
  BSTR ScheduleName
);

Parameters

ScheduleName
[in] BSTR that specifies the name of the schedule to which the rule applies.

Return Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.
[Visual Basic]

The SetSchedule method sets the schedule to which the rule applies.

Sub SetSchedule( _
  ByVal ScheduleName As String _
)

Parameters

ScheduleName
[in] String that specifies the name of the schedule to which the rule applies.

Return Values

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCPolicyRule