OrganizationProfileManager.CreateOrganizationProfile 方法

请注意:此 API 现在已过时。

创建具有指定的ProfileSubtypeProfileBase指定的的组织配置文件。

命名空间:  Microsoft.Office.Server.UserProfiles
程序集:  Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)

语法

声明
<ObsoleteAttribute("This class is no longer supported.")> _
Public Function CreateOrganizationProfile ( _
    subtype As ProfileSubtype, _
    parentProfile As ProfileBase _
) As OrganizationProfile
用法
Dim instance As OrganizationProfileManager
Dim subtype As ProfileSubtype
Dim parentProfile As ProfileBase
Dim returnValue As OrganizationProfile

returnValue = instance.CreateOrganizationProfile(subtype, _
    parentProfile)
[ObsoleteAttribute("This class is no longer supported.")]
public OrganizationProfile CreateOrganizationProfile(
    ProfileSubtype subtype,
    ProfileBase parentProfile
)

参数

返回值

类型:Microsoft.Office.Server.UserProfiles.OrganizationProfile

备注

只有具有管理权限的用户配置文件的用户可以创建组织模板。

另请参阅

引用

OrganizationProfileManager 类

OrganizationProfileManager 成员

Microsoft.Office.Server.UserProfiles 命名空间