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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.