Jaa


ServiceAgent Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the ServiceAgent object used to connect to the Web Service.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
Public ReadOnly Property ServiceAgent As ServiceAgent
'Usage
Dim instance As MarketingContext
Dim value As ServiceAgent

value = instance.ServiceAgent
public ServiceAgent ServiceAgent { get; }
public:
property ServiceAgent^ ServiceAgent {
    ServiceAgent^ get ();
}
public function get ServiceAgent () : ServiceAgent

Property Value

Type: Microsoft.CommerceServer..::.ServiceAgent
A ServiceAgent object used to connect to the Web Service.

Remarks

The ServiceAgent object contains the URL to the WebService. Callers should always check for a non-null reference before using the returned ServiceAgent object.

Permissions

See Also

Reference

MarketingContext Class

MarketingContext Members

Microsoft.CommerceServer.Marketing Namespace