SuspendGlobalSubscription Method
This transaction is used to stop the origin server from automatically subscribing the User-Agent to new Workitems. This does not delete any existing subscriptions to specific Workitems.
public function SuspendGlobalSubscription(
: SubscribeTargetResource;
: System.String
): System.Net.Http.HttpResponseMessage;
public function SuspendGlobalSubscription(
: SubscribeTargetResource,
: System.String
) : System.Net.Http.HttpResponseMessage;
'Declaration
Public Function SuspendGlobalSubscription( _
ByVal As SubscribeTargetResource, _
ByVal As System.String _
) As System.Net.Http.HttpResponseMessage
'Usage
Dim instance As WorkItemWebClient
Dim Resource As SubscribeTargetResource
Dim AETitle As System.String
Dim value As System.Net.Http.HttpResponseMessage
value = instance.SuspendGlobalSubscription(Resource, AETitle)
Parameters
- Resource
- The Subscribe Target Resource
- AETitle
- The AETitle of Subscriber
Target Platforms: .NET CLR 4.8 or higher