Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCServerPublishingProperties::SetPublishedProtocol[C++]

FPCServerPublishingProperties.SetPublishedProtocol [Visual Basic]

[C++]

The SetPublishedProtocol method sets the published protocol of the rule.

HRESULT SetPublishedProtocol(
  BSTR Name
);

Parameters

Name
[in] String value that specifies the published protocol of the rule.

Return Values

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

Remarks

This method is used to set the PublishedProtocol property.

[Visual Basic]

The SetPublishedProtocol method sets the published protocol of the rule.

Sub SetPublishedProtocol( _
  ByVal Name As String _
)

Parameters

Name
[in] String value that specifies the published protocol of the rule.

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.

Remarks

This method is used to set the PublishedProtocol property.

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

FPCServerPublishingProperties