Tenant 成员

包括受保护的成员
包括继承的成员

表示SharePoint Online租户。

Tenant 类型公开以下成员。

构造函数

  名称 说明
公共方法 Tenant(ClientRuntimeContext) 创建Tenant对象的实例。
公共方法 Tenant(ClientRuntimeContext, ObjectPath) 仅供内部使用。

页首

属性

  名称 说明
公共属性 AllowedDomainListForSyncClient
公共属性 BccExternalSharingInvitations
公共属性 BccExternalSharingInvitationsList
公共属性 BlockMacSync
公共属性 CompatibilityRange 获取或设置指定的兼容性范围是可用于新网站集的值。
公共属性 Context Returns the context that is associated with the client object. (从 ClientObject 继承。)
公共属性 DisplayStartASiteOption
公共属性 ExcludedFileExtensionsForSyncClient
公共属性 ExternalServicesEnabled 获取或设置一个值,指定是否启用外部服务。
公共属性 IsUnmanagedSyncClientForTenantRestricted
公共属性 IsUnmanagedSyncClientRestrictionFlightEnabled
公共属性 LegacyAuthProtocolsEnabled
公共属性 NoAccessRedirectUrl 获取或设置重定向 URL 在租户网站被锁定时使用的值。
受保护的属性 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 继承。)
公共属性 OfficeClientADALDisabled
公共属性 OneDriveForGuestsEnabled
公共属性 OneDriveStorageQuota
公共属性 Path Tracks how a client object is created in the ClientRuntimeContext class so that the object can be recreated on the server. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共属性 ProvisionSharedWithEveryoneFolder
公共属性 RequireAcceptingAccountMatchInvitedAccount
公共属性 RequireAnonymousLinksExpireInDays
公共属性 ResourceQuota 获取租户资源配额的值。
公共属性 ResourceQuotaAllocated 获取分配给租户中的所有网站的资源配额的值。
公共属性 RootSiteUrl 获取租户的根网站 URL 的值。
公共属性 SearchResolveExactEmailOrUPN
公共属性 ServerObjectIsNull Gets the server object and returns null if the server object is null. (从 ClientObject 继承。)
公共属性 SharingAllowedDomainList
公共属性 SharingBlockedDomainList
公共属性 SharingCapability
公共属性 SharingDomainRestrictionMode
公共属性 ShowAllUsersClaim
公共属性 ShowEveryoneClaim
公共属性 ShowEveryoneExceptExternalUsersClaim
公共属性 SignInAccelerationDomain
公共属性 StartASiteFormUrl
公共属性 StorageQuota 获取用于租户的存储配额的值。
公共属性 StorageQuotaAllocated 获取对租户中的所有网站分配的存储配额的值
公共属性 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 继承。)
公共属性 UsePersistentCookiesForExplorerView
公共属性 UserVoiceForFeedbackEnabled

页首

方法

  名称 说明
受保护的方法 CheckUninitializedProperty Checks to determine whether the specified value type property of a ClientObject has been initialized. (从 ClientObject 继承。)
公共方法 CreateSite 在将网站集创建使用指定的属性。
公共方法 CustomFromJson Returns a Boolean value that indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 DecodeClaim 返回一个字符串,表示为指定编码声明解码的声明 (的登录名)。
公共方法 DecodeClaims 返回指定的编码声明列表解码索赔 (登录名称) 的列表。
公共方法 EncodeClaim 返回指定的登录名称编码的声明。
公共方法 EncodeClaims 返回指定的登录名列表编码索赔的列表。
公共方法 FromJson Indicates whether custom code was used to populate an object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 GetAllDeletedPersonalSitesPropertiesAllVersions
公共方法 GetAppErrors 从应用中监视的框架,用于指定应用租户范围内获取错误。
公共方法 GetAppInfoByName 获取应用程序与指定的搜索字符串匹配。
公共方法 GetAppInfoByProductId 获取应用程序中满足指定的标识符。
公共方法 GetDeletedPersonalSitePropertiesAllVersions
公共方法 GetDeletedSiteProperties 返回当前租户的已删除的网站的属性的列表。
公共方法 GetDeletedSitePropertiesByUrl 获取指定已删除的网站的属性。
公共方法 GetSiteByUrl 返回指定的 URL 的网站
公共方法 GetSiteProperties 返回在租户中的所有网站的属性。
公共方法 GetSitePropertiesByFilter 返回租户相匹配的筛选表达式中的所有网站的属性。
公共方法 GetSitePropertiesByUrl 返回与指定的 URL 的网站的属性。
公共方法 GetSPOTenantWebTemplates 返回在租户中的所有网站集 web 模板。
受保护的方法 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 继承。)
公共方法 RemoveDeletedSite 从回收站中永久删除指定已删除的网站。
公共方法 RemoveDeletedSitePreferId
受保护的方法 RemoveFromParentCollection Removes the current client object from the parent client object collection. (从 ClientObject 继承。)
公共方法 RemoveSite 删除网站上并带有指定的 URL。
公共方法 RequestPersonalSites
公共方法 RestoreDeletedSite 从回收站中还原以前已删除的网站。
公共方法 RestoreDeletedSitePreferId
公共方法 Retrieve() Retrieves all scalar properties associated with the object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 Retrieve([]) Retrieves the specified scalar properties associated with the object. 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientObject 继承。)
公共方法 SetSiteAdmin 将用户添加作为网站管理员。
公共方法 ToString (从 Object 继承。)
受保护的方法 UpdateClientObjectPropertyType Updates the client object property's value to have correct type by using the type information returned from the server. (从 ClientObject 继承。)

页首

另请参阅

引用

Tenant 类

Microsoft.Online.SharePoint.TenantAdministration 命名空间