AssociateWithStandard Method of the IFPCProtocolDefinition2 Interface

The AssociateWithStandard method indicates that the protocol definition represents a non-standard protocol and associates it with a standard protocol.

[C++]

Syntax

HRESULT AssociateWithStandard(
  [in]  FpcItemScope Scope,
  [in]  BSTR StandardProtocol
);

Parameters

Scope

A FpcItemScope object that specifies the scope of the protocol definition.

StandardProtocol

A BSTR that specifies the standard protocol.

Return Value

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

[Visual Basic]

Syntax

Function AssociateWithStandard( _
  ByVal Scope As FpcItemScope, _
  ByVal StandardProtocol As String _
)

Parameters

Scope

A FpcItemScope object that specifies the scope of the protocol definition.

StandardProtocol

A String that specifies the standard protocol.

Return Value

If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCProtocolDefinition


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.