Autodesk Vault ProfessionalVault API

WebServiceManager Class

Autodesk.Connectivity.WebServicesAutodesk.Connectivity.WebServicesTools

A class for managing web service objects and connection information.

Syntax

public sealed class WebServiceManager 
Public NotInheritable Class WebServiceManager 

Constructors

NameDescription
WebServiceManagerConstructor for Service Manager.

Properties

NameDescription
AdminServiceGets the Admin service object, or creates one if needed.
AllowUISpecifies whether UI is allowed to be displayed. Defaults to true.
AnalyticsServiceGets the AnalyticsService service object, or creates one if needed.
AuthServiceGets the auth service object, or creates one if needed.
AutodeskAuthServiceGets the AutodeskAuth service object, or creates one if needed.
BehaviorServiceGets the Behavior service object, or creates one if needed.
CategoryServiceGets the category service object, or creates one if needed.
ChangeOrderServiceGets the change order service object, or creates one if needed.
CustomEntityServiceGets the custom entity service object, or creates one if needed.
DocumentServiceGets the Document service object, or creates one if needed.
DocumentServiceExtensionsGets the Document service object, or creates one if needed.
FilestoreServiceGets the Filestore service object, or creates one if needed.
FilestoreVaultServiceGets the FilestoreVault service object, or creates one if needed.
ForumServiceGets the forum service object, or creates one if needed.
InformationServiceGets the Information service object, or creates one if needed.
ItemServiceGets the item service object, or creates one if needed.
JobServiceGets the job service object, or creates one if needed.
KnowledgeVaultServiceGets the Document service object, or creates one if needed.
LifeCycleServiceGets the life cycle service object, or creates one if needed.
NumberingServiceGets the numbering service object, or creates one if needed.
PackageServiceGets the package service object, or creates one if needed.
PropertyServiceGets the property service object, or creates one if needed.
ReplicationServiceGets the replication service object, or creates one if needed.
ReSignInGets or sets the re-sign in behavior on all the services in the WebServiceManager.
RevisionServiceGets the revision service object, or creates one if needed.
SecurityServiceGets the security service object, or creates one if needed.
WebServiceCredentials
WinAuthServiceGets the WinAuth service object, or creates one if needed.
ExternalSyncServiceGets the ExternalSyncService service object, or creates one if needed.

Methods

NameDescription
BracketIPv6HostName
CloneCreates a duplicate WebServiceManager with its own service classes.
DisposeUsed for IDisposable. Signs out of Vault and clears the security information on all services.
GetServerIdentitiesCalls the identification service to determine server identities
IgnoreReplicationLagFor duration of the returned 'using' block, ignore any replication lag from previous write operations. Use with caution to optimize batch operations on a replication subscriber.
InitializeInitializes the WebServiceManager. This should be called on application startup.

Example

ServerIdentities serverIdent = new ServerIdentities();
serverIdent.DataServer = "localhost";
serverIdent.FileServer = "localhost";
UserPasswordCredentials login = new UserPasswordCredentials(
    serverIdent, "Vault", "Administrator", "", true);

using (WebServiceManager serviceManager =  new WebServiceManager(login))
{
    Folder root = serviceManager.DocumentService.GetFolderRoot();
}
Dim serverIdent As New ServerIdentities()
serverIdent.DataServer = "localhost"
serverIdent.FileServer = "localhost"
Dim login As UserPasswordCredentials = _
    New UserPasswordCredentials(serverIdent, "Vault", "Administrator", "")

Using serviceManager As New WebServiceManager(login)
    Dim root As Folder = serviceManager.DocumentService.GetFolderRoot()
End Using

Returned By

Where you get a WebServiceManager — members that return one.

Inheritance Hierarchy

  • System.Object
  • Autodesk.Connectivity.WebServicesTools.WebServiceManager

See Also