TermStore 成员

表示包含子Group对象、 TermSet对象和Term对象中的元数据存储区。

TermStore 类型公开以下成员。

构造函数

  名称 说明
公共方法 TermStore

页首

属性

  名称 说明
公共属性 ContentTypePublishingHub 如果存在,获取用作内容类型联合中心, SPSite对象的 URI。
公共属性 Context Returns the context that is associated with the client object. (从 ClientObject 继承。)
公共属性 DefaultLanguage 获取或设置默认工作当前TermStore对象的语言的 LCID。
公共属性 Groups 获取此TermStore对象Group对象的子级的集合
公共属性 HashTagsTermSet
公共属性 Id 获取TermStore对象的唯一标识符。
公共属性 IsOnline 指示此术语库当前是否处于联机状态(可用)。
公共属性 KeywordsTermSet 获取此TermStore对象TermSet对象。
公共属性 Languages 获取 LCID 的整数集合。
公共属性 Name 获取当前TermStore对象的名称。
受保护的属性 ObjectData Gets the object data for the current client object. (从 ClientObject 继承。)
公共属性 ObjectVersion Gets a string that indicates the version of the current client object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共属性 OrphanedTermsTermSet 获取TermSetTermStore包含对象孤立的术语集。
公共属性 Path Tracks how a client object is created in the ClientRuntimeContext class so that the object can be recreated on the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共属性 ServerObjectIsNull Gets the server object and returns null if the server object is null. (从 ClientObject 继承。)
公共属性 SystemGroup 获取此TermStore对象Group对象。其中包含 (关键字和孤立术语) 系统术语的集
公共属性 Tag Gets or sets data that is associated with the client object. (从 ClientObject 继承。)
公共属性 TypedObject Gets the object with the correct type information returned from the server. (从 ClientObject 继承。)
公共属性 WorkingLanguage 获取或设置TermStore对象的当前工作语言。

页首

方法

  名称 说明
公共方法 AddLanguage 将工作语言添加到TermStore对象。
受保护的方法 CheckUninitializedProperty Checks to determine whether the specified value type property of a ClientObject has been initialized. (从 ClientObject 继承。)
公共方法 CommitAll 提交所有更新到上次提交或回滚之后发生的数据库。
公共方法 CreateGroup TermStore中创建新的Group对象。
公共方法 CustomFromJson Returns a Boolean value that indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 DeleteLanguage TermStore对象中删除工作语言。
公共方法 FromJson Indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 GetChanges
公共方法 GetGroup 获取基于的组 ID 的Group对象。
公共方法 GetSiteCollectionGroup 返回SPSite关联的网站集组。
公共方法 GetTerm 获取Term基于其 id。
公共方法 GetTermInTermSet
公共方法 GetTerms
公共方法 GetTermsById
公共方法 GetTermSet 此方法检索TermSet对象基于TermSet id。
公共方法 GetTermSetsByName
公共方法 GetTermSetsByTermLabel
公共方法 GetTermSetsWithCustomProperty
公共方法 GetTermsWithCustomProperty
受保护的方法 InitNonPropertyFieldFromJson Initializes a non-property field of the client object based on JavaScript 对象表示法 (JSON) data from the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
受保护的方法 InitOnePropertyFromJson (覆盖 ClientObject.InitOnePropertyFromJson(String, JsonReader)。)
公共方法 IsObjectPropertyInstantiated Indicates whether the specified property of the client object is instantiated. (从 ClientObject 继承。)
公共方法 IsPropertyAvailable Returns a Boolean value that indicates whether the specified scalar property has been retrieved or set. (从 ClientObject 继承。)
受保护的方法 LoadExpandoFields Initializes the extended properties associated with the client object when overridden in a derived class. (从 ClientObject 继承。)
公共方法 RefreshLoad Reloads all scalar properties associated with the client object when overridden in a derived class. (从 ClientObject 继承。)
受保护的方法 RemoveFromParentCollection Removes the current client object from the parent client object collection. (从 ClientObject 继承。)
公共方法 Retrieve() Retrieves all scalar properties associated with the object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 Retrieve([]) Retrieves the specified scalar properties associated with the object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 RollbackAll 放弃自上次提交或回滚以来发生的所有更新。
公共方法 ToString (从 Object 继承。)
公共方法 UpdateCache 强制分类缓存与要检查更改分类中的对象TermStore托管元数据服务进行通信。
受保护的方法 UpdateClientObjectPropertyType Updates the client object property's value to have correct type by using the type information returned from the server. (从 ClientObject 继承。)
公共方法 UpdateUsedTermsOnSite

页首

另请参阅

引用

TermStore 类

Microsoft.SharePoint.Client.Taxonomy 命名空间