ProfileManagerBase.Search 方法 (String[], Int32, Nullable<Boolean>)
返回配置文件特定的子类型,0 表示所有的子类型。
命名空间: Microsoft.Office.Server.UserProfiles
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Function Search ( _
searchPattern As String(), _
nSubtypeId As Integer, _
bDeleted As Nullable(Of Boolean) _
) As ProfileBase()
用法
Dim instance As ProfileManagerBase
Dim searchPattern As String()
Dim nSubtypeId As Integer
Dim bDeleted As Nullable(Of Boolean)
Dim returnValue As ProfileBase()
returnValue = instance.Search(searchPattern, _
nSubtypeId, bDeleted)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public ProfileBase[] Search(
string[] searchPattern,
int nSubtypeId,
Nullable<bool> bDeleted
)
参数
- searchPattern
类型:[]
- nSubtypeId
类型:System.Int32
- bDeleted
类型:System.Nullable<Boolean>
返回值
类型:[]
返回。