TaxonomyClientService TaxonomyClientService TaxonomyClientService Class

Definition

Provides the Web service methods needed for a client application to host a managed metadata control.

public ref class TaxonomyClientService sealed : System::Web::Services::WebService
[System.Web.Script.Services.ScriptService]
[System.Web.Services.WebService(Description="This web service is designed for Office client applications to use", Name="Taxonomy web service", Namespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/")]
[System.Web.Services.WebServiceBinding(ConformsTo=System.Web.Services.WsiProfiles.BasicProfile1_1)]
public sealed class TaxonomyClientService : System.Web.Services.WebService
Public NotInheritable Class TaxonomyClientService
Inherits WebService
Inheritance
TaxonomyClientServiceTaxonomyClientServiceTaxonomyClientService
Attributes

Examples

<pre><code>using System;

using System.ComponentModel; using System.Diagnostics; using System.Web.Services; using System.Web.Services.Protocols; using System.Xml.Serialization;

// // This source code was auto-generated by wsdl, Version=2.0.50727.3038. //

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="TaxonomyClientServiceSoap", Namespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/")] public partial class TaxonomyClientService : System.Web.Services.Protocols.SoapHttpClientProtocol {

private System.Threading.SendOrPostCallback GetTermSetsOperationCompleted;

private System.Threading.SendOrPostCallback GetTermsByLabelOperationCompleted;

private System.Threading.SendOrPostCallback AddTermsOperationCompleted;

private System.Threading.SendOrPostCallback GetKeywordTermsByGuidsOperationCompleted;

private System.Threading.SendOrPostCallback GetChildTermsInTermSetOperationCompleted;

private System.Threading.SendOrPostCallback GetChildTermsInTermOperationCompleted;

/// &amp;lt;remarks/&amp;gt;
public TaxonomyClientService() {
    this.Url = "http://localhost:56509/WebSite1/Service.asmx";
}

/// &amp;lt;remarks/&amp;gt;
public event GetTermSetsCompletedEventHandler GetTermSetsCompleted;

/// &amp;lt;remarks/&amp;gt;
public event GetTermsByLabelCompletedEventHandler GetTermsByLabelCompleted;

/// &amp;lt;remarks/&amp;gt;
public event AddTermsCompletedEventHandler AddTermsCompleted;

/// &amp;lt;remarks/&amp;gt;
public event GetKeywordTermsByGuidsCompletedEventHandler GetKeywordTermsByGuidsCompleted;

/// &amp;lt;remarks/&amp;gt;
public event GetChildTermsInTermSetCompletedEventHandler GetChildTermsInTermSetCompleted;

/// &amp;lt;remarks/&amp;gt;
public event GetChildTermsInTermCompletedEventHandler GetChildTermsInTermCompleted;

/// &amp;lt;remarks/&amp;gt;
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/taxonomy/soap/GetTermSets", RequestNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetTermSets(string sharedServiceIds, string TermSetIds, int lcid, string clientTimeStamps, string clientVersions, out string serverTermSetTimeStampXml) {
    object[] results = this.Invoke("GetTermSets", new object[] {
                sharedServiceIds,
                TermSetIds,
                lcid,
                clientTimeStamps,
                clientVersions});
    serverTermSetTimeStampXml = ((string)(results[1]));
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public System.IAsyncResult BeginGetTermSets(string sharedServiceIds, string TermSetIds, int lcid, string clientTimeStamps, string clientVersions, System.AsyncCallback callback, object asyncState) {
    return this.BeginInvoke("GetTermSets", new object[] {
                sharedServiceIds,
                TermSetIds,
                lcid,
                clientTimeStamps,
                clientVersions}, callback, asyncState);
}

/// &amp;lt;remarks/&amp;gt;
public string EndGetTermSets(System.IAsyncResult asyncResult, out string serverTermSetTimeStampXml) {
    object[] results = this.EndInvoke(asyncResult);
    serverTermSetTimeStampXml = ((string)(results[1]));
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public void GetTermSetsAsync(string sharedServiceIds, string TermSetIds, int lcid, string clientTimeStamps, string clientVersions) {
    this.GetTermSetsAsync(sharedServiceIds, TermSetIds, lcid, clientTimeStamps, clientVersions, null);
}

/// &amp;lt;remarks/&amp;gt;
public void GetTermSetsAsync(string sharedServiceIds, string TermSetIds, int lcid, string clientTimeStamps, string clientVersions, object userState) {
    if ((this.GetTermSetsOperationCompleted == null)) {
        this.GetTermSetsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTermSetsOperationCompleted);
    }
    this.InvokeAsync("GetTermSets", new object[] {
                sharedServiceIds,
                TermSetIds,
                lcid,
                clientTimeStamps,
                clientVersions}, this.GetTermSetsOperationCompleted, userState);
}

private void OnGetTermSetsOperationCompleted(object arg) {
    if ((this.GetTermSetsCompleted != null)) {
        System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
        this.GetTermSetsCompleted(this, new GetTermSetsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
    }
}

/// &amp;lt;remarks/&amp;gt;
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/taxonomy/soap/GetTermsByLabel", RequestNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetTermsByLabel(string label, int lcid, StringMatchOption matchOption, int resultCollectionSize, string TermIds, bool addIfNotFound) {
    object[] results = this.Invoke("GetTermsByLabel", new object[] {
                label,
                lcid,
                matchOption,
                resultCollectionSize,
                TermIds,
                addIfNotFound});
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public System.IAsyncResult BeginGetTermsByLabel(string label, int lcid, StringMatchOption matchOption, int resultCollectionSize, string TermIds, bool addIfNotFound, System.AsyncCallback callback, object asyncState) {
    return this.BeginInvoke("GetTermsByLabel", new object[] {
                label,
                lcid,
                matchOption,
                resultCollectionSize,
                TermIds,
                addIfNotFound}, callback, asyncState);
}

/// &amp;lt;remarks/&amp;gt;
public string EndGetTermsByLabel(System.IAsyncResult asyncResult) {
    object[] results = this.EndInvoke(asyncResult);
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public void GetTermsByLabelAsync(string label, int lcid, StringMatchOption matchOption, int resultCollectionSize, string TermIds, bool addIfNotFound) {
    this.GetTermsByLabelAsync(label, lcid, matchOption, resultCollectionSize, TermIds, addIfNotFound, null);
}

/// &amp;lt;remarks/&amp;gt;
public void GetTermsByLabelAsync(string label, int lcid, StringMatchOption matchOption, int resultCollectionSize, string TermIds, bool addIfNotFound, object userState) {
    if ((this.GetTermsByLabelOperationCompleted == null)) {
        this.GetTermsByLabelOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTermsByLabelOperationCompleted);
    }
    this.InvokeAsync("GetTermsByLabel", new object[] {
                label,
                lcid,
                matchOption,
                resultCollectionSize,
                TermIds,
                addIfNotFound}, this.GetTermsByLabelOperationCompleted, userState);
}

private void OnGetTermsByLabelOperationCompleted(object arg) {
    if ((this.GetTermsByLabelCompleted != null)) {
        System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
        this.GetTermsByLabelCompleted(this, new GetTermsByLabelCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
    }
}

/// &amp;lt;remarks/&amp;gt;
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/taxonomy/soap/AddTerms", RequestNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string AddTerms(System.Guid sharedServiceId, System.Guid TermSetId, int lcid, string newTerms) {
    object[] results = this.Invoke("AddTerms", new object[] {
                sharedServiceId,
                TermSetId,
                lcid,
                newTerms});
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public System.IAsyncResult BeginAddTerms(System.Guid sharedServiceId, System.Guid TermSetId, int lcid, string newTerms, System.AsyncCallback callback, object asyncState) {
    return this.BeginInvoke("AddTerms", new object[] {
                sharedServiceId,
                TermSetId,
                lcid,
                newTerms}, callback, asyncState);
}

/// &amp;lt;remarks/&amp;gt;
public string EndAddTerms(System.IAsyncResult asyncResult) {
    object[] results = this.EndInvoke(asyncResult);
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public void AddTermsAsync(System.Guid sharedServiceId, System.Guid TermSetId, int lcid, string newTerms) {
    this.AddTermsAsync(sharedServiceId, TermSetId, lcid, newTerms, null);
}

/// &amp;lt;remarks/&amp;gt;
public void AddTermsAsync(System.Guid sharedServiceId, System.Guid TermSetId, int lcid, string newTerms, object userState) {
    if ((this.AddTermsOperationCompleted == null)) {
        this.AddTermsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddTermsOperationCompleted);
    }
    this.InvokeAsync("AddTerms", new object[] {
                sharedServiceId,
                TermSetId,
                lcid,
                newTerms}, this.AddTermsOperationCompleted, userState);
}

private void OnAddTermsOperationCompleted(object arg) {
    if ((this.AddTermsCompleted != null)) {
        System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
        this.AddTermsCompleted(this, new AddTermsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
    }
}

/// &amp;lt;remarks/&amp;gt;
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/taxonomy/soap/GetKeywordTermsByGuids", RequestNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetKeywordTermsByGuids(string TermIds, int lcid) {
    object[] results = this.Invoke("GetKeywordTermsByGuids", new object[] {
                TermIds,
                lcid});
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public System.IAsyncResult BeginGetKeywordTermsByGuids(string TermIds, int lcid, System.AsyncCallback callback, object asyncState) {
    return this.BeginInvoke("GetKeywordTermsByGuids", new object[] {
                TermIds,
                lcid}, callback, asyncState);
}

/// &amp;lt;remarks/&amp;gt;
public string EndGetKeywordTermsByGuids(System.IAsyncResult asyncResult) {
    object[] results = this.EndInvoke(asyncResult);
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public void GetKeywordTermsByGuidsAsync(string TermIds, int lcid) {
    this.GetKeywordTermsByGuidsAsync(TermIds, lcid, null);
}

/// &amp;lt;remarks/&amp;gt;
public void GetKeywordTermsByGuidsAsync(string TermIds, int lcid, object userState) {
    if ((this.GetKeywordTermsByGuidsOperationCompleted == null)) {
        this.GetKeywordTermsByGuidsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetKeywordTermsByGuidsOperationCompleted);
    }
    this.InvokeAsync("GetKeywordTermsByGuids", new object[] {
                TermIds,
                lcid}, this.GetKeywordTermsByGuidsOperationCompleted, userState);
}

private void OnGetKeywordTermsByGuidsOperationCompleted(object arg) {
    if ((this.GetKeywordTermsByGuidsCompleted != null)) {
        System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
        this.GetKeywordTermsByGuidsCompleted(this, new GetKeywordTermsByGuidsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
    }
}

/// &amp;lt;remarks/&amp;gt;
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/taxonomy/soap/GetChildTermsInTermSet", RequestNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetChildTermsInTermSet(System.Guid sspId, int lcid, System.Guid TermSetId) {
    object[] results = this.Invoke("GetChildTermsInTermSet", new object[] {
                sspId,
                lcid,
                TermSetId});
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public System.IAsyncResult BeginGetChildTermsInTermSet(System.Guid sspId, int lcid, System.Guid TermSetId, System.AsyncCallback callback, object asyncState) {
    return this.BeginInvoke("GetChildTermsInTermSet", new object[] {
                sspId,
                lcid,
                TermSetId}, callback, asyncState);
}

/// &amp;lt;remarks/&amp;gt;
public string EndGetChildTermsInTermSet(System.IAsyncResult asyncResult) {
    object[] results = this.EndInvoke(asyncResult);
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public void GetChildTermsInTermSetAsync(System.Guid sspId, int lcid, System.Guid TermSetId) {
    this.GetChildTermsInTermSetAsync(sspId, lcid, TermSetId, null);
}

/// &amp;lt;remarks/&amp;gt;
public void GetChildTermsInTermSetAsync(System.Guid sspId, int lcid, System.Guid TermSetId, object userState) {
    if ((this.GetChildTermsInTermSetOperationCompleted == null)) {
        this.GetChildTermsInTermSetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetChildTermsInTermSetOperationCompleted);
    }
    this.InvokeAsync("GetChildTermsInTermSet", new object[] {
                sspId,
                lcid,
                TermSetId}, this.GetChildTermsInTermSetOperationCompleted, userState);
}

private void OnGetChildTermsInTermSetOperationCompleted(object arg) {
    if ((this.GetChildTermsInTermSetCompleted != null)) {
        System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
        this.GetChildTermsInTermSetCompleted(this, new GetChildTermsInTermSetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
    }
}

/// &amp;lt;remarks/&amp;gt;
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/taxonomy/soap/GetChildTermsInTerm", RequestNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetChildTermsInTerm(System.Guid sspId, int lcid, System.Guid TermId, System.Guid TermSetId) {
    object[] results = this.Invoke("GetChildTermsInTerm", new object[] {
                sspId,
                lcid,
                TermId,
                TermSetId});
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public System.IAsyncResult BeginGetChildTermsInTerm(System.Guid sspId, int lcid, System.Guid TermId, System.Guid TermSetId, System.AsyncCallback callback, object asyncState) {
    return this.BeginInvoke("GetChildTermsInTerm", new object[] {
                sspId,
                lcid,
                TermId,
                TermSetId}, callback, asyncState);
}

/// &amp;lt;remarks/&amp;gt;
public string EndGetChildTermsInTerm(System.IAsyncResult asyncResult) {
    object[] results = this.EndInvoke(asyncResult);
    return ((string)(results[0]));
}

/// &amp;lt;remarks/&amp;gt;
public void GetChildTermsInTermAsync(System.Guid sspId, int lcid, System.Guid TermId, System.Guid TermSetId) {
    this.GetChildTermsInTermAsync(sspId, lcid, TermId, TermSetId, null);
}

/// &amp;lt;remarks/&amp;gt;
public void GetChildTermsInTermAsync(System.Guid sspId, int lcid, System.Guid TermId, System.Guid TermSetId, object userState) {
    if ((this.GetChildTermsInTermOperationCompleted == null)) {
        this.GetChildTermsInTermOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetChildTermsInTermOperationCompleted);
    }
    this.InvokeAsync("GetChildTermsInTerm", new object[] {
                sspId,
                lcid,
                TermId,
                TermSetId}, this.GetChildTermsInTermOperationCompleted, userState);
}

private void OnGetChildTermsInTermOperationCompleted(object arg) {
    if ((this.GetChildTermsInTermCompleted != null)) {
        System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
        this.GetChildTermsInTermCompleted(this, new GetChildTermsInTermCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
    }
}

/// &amp;lt;remarks/&amp;gt;
public new void CancelAsync(object userState) {
    base.CancelAsync(userState);
}

}

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.microsoft.com/sharepoint/taxonomy/soap/")] public enum StringMatchOption {

/// &amp;lt;remarks/&amp;gt;
StartsWith,

/// &amp;lt;remarks/&amp;gt;
ExactMatch,

}

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetTermSetsCompletedEventHandler(object sender, GetTermSetsCompletedEventArgs e);

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetTermSetsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {

private object[] results;

internal GetTermSetsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
        base(exception, cancelled, userState) {
    this.results = results;
}

/// &amp;lt;remarks/&amp;gt;
public string Result {
    get {
        this.RaiseExceptionIfNecessary();
        return ((string)(this.results[0]));
    }
}

/// &amp;lt;remarks/&amp;gt;
public string serverTermSetTimeStampXml {
    get {
        this.RaiseExceptionIfNecessary();
        return ((string)(this.results[1]));
    }
}

}

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetTermsByLabelCompletedEventHandler(object sender, GetTermsByLabelCompletedEventArgs e);

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetTermsByLabelCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {

private object[] results;

internal GetTermsByLabelCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
        base(exception, cancelled, userState) {
    this.results = results;
}

/// &amp;lt;remarks/&amp;gt;
public string Result {
    get {
        this.RaiseExceptionIfNecessary();
        return ((string)(this.results[0]));
    }
}

}

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void AddTermsCompletedEventHandler(object sender, AddTermsCompletedEventArgs e);

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class AddTermsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {

private object[] results;

internal AddTermsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
        base(exception, cancelled, userState) {
    this.results = results;
}

/// &amp;lt;remarks/&amp;gt;
public string Result {
    get {
        this.RaiseExceptionIfNecessary();
        return ((string)(this.results[0]));
    }
}

}

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetKeywordTermsByGuidsCompletedEventHandler(object sender, GetKeywordTermsByGuidsCompletedEventArgs e);

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetKeywordTermsByGuidsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {

private object[] results;

internal GetKeywordTermsByGuidsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
        base(exception, cancelled, userState) {
    this.results = results;
}

/// &amp;lt;remarks/&amp;gt;
public string Result {
    get {
        this.RaiseExceptionIfNecessary();
        return ((string)(this.results[0]));
    }
}

}

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetChildTermsInTermSetCompletedEventHandler(object sender, GetChildTermsInTermSetCompletedEventArgs e);

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetChildTermsInTermSetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {

private object[] results;

internal GetChildTermsInTermSetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
        base(exception, cancelled, userState) {
    this.results = results;
}

/// &amp;lt;remarks/&amp;gt;
public string Result {
    get {
        this.RaiseExceptionIfNecessary();
        return ((string)(this.results[0]));
    }
}

}

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] public delegate void GetChildTermsInTermCompletedEventHandler(object sender, GetChildTermsInTermCompletedEventArgs e);

/// &lt;remarks/&gt; [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetChildTermsInTermCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {

private object[] results;

internal GetChildTermsInTermCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
        base(exception, cancelled, userState) {
    this.results = results;
}

/// &amp;lt;remarks/&amp;gt;
public string Result {
    get {
        this.RaiseExceptionIfNecessary();
        return ((string)(this.results[0]));
    }
}

}

Remarks

This Web service enables a client to interact with the managed metadata TermStore object and get the data through label matching, per T:Microsoft.SharePoint.Taxonomy.TermSet, or by GUID. Updates to the TermStore can also be made by adding a new Term object.

Constructors

TaxonomyClientService() TaxonomyClientService() TaxonomyClientService()

Initializes a new instance of a TaxonomyClientService object.

Methods

AddTerms(Guid, Guid, Int32, String) AddTerms(Guid, Guid, Int32, String) AddTerms(Guid, Guid, Int32, String)

Adds a new Term to the managed metadata TermStore object.

GetChildTermsInTerm(Guid, Int32, Guid, Guid) GetChildTermsInTerm(Guid, Int32, Guid, Guid) GetChildTermsInTerm(Guid, Int32, Guid, Guid)

Get immediate child Term objects for a parent Term.

GetChildTermsInTermSet(Guid, Int32, Guid) GetChildTermsInTermSet(Guid, Int32, Guid) GetChildTermsInTermSet(Guid, Int32, Guid)

Get immediate child Term objects for a TermSet object.

GetKeywordTermsByGuids(String, Int32) GetKeywordTermsByGuids(String, Int32) GetKeywordTermsByGuids(String, Int32)

Gets Term objects from the TermStore by GUID.

GetTermsByLabel(String, Int32, StringMatchOption, Int32, String, Boolean) GetTermsByLabel(String, Int32, StringMatchOption, Int32, String, Boolean) GetTermsByLabel(String, Int32, StringMatchOption, Int32, String, Boolean)

Gets Term objects that match the search label.

GetTermSets(String, String, Int32, String, String, String) GetTermSets(String, String, Int32, String, String, String) GetTermSets(String, String, Int32, String, String, String)

Gets a TermSet object and all its Term objects if the client TimeStamp is older than the server TimeStamp on the TermSet object, or if the client version is older than the server version

Applies to