다음을 통해 공유


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.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public ReadOnly Property ServiceAgent As ServiceAgent
'Usage
Dim instance As CatalogContext
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 is an instance of the ServiceAgent object which contains the URL to the Catalog Web service.

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

Microsoft.CommerceServer.Catalog Namespace