다음을 통해 공유


PrivacyItem.InitializeNewPrivacyItem Method

This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Protected Friend Sub InitializeNewPrivacyItem ( _
    strTitle As String, _
    strUrl As String, _
    groupType As Object, _
    strGroup As String, _
    privacyLevel As Privacy _
)
'Usage
Dim strTitle As String
Dim strUrl As String
Dim groupType As Object
Dim strGroup As String
Dim privacyLevel As Privacy

Me.InitializeNewPrivacyItem(strTitle, _
    strUrl, groupType, strGroup, privacyLevel)
protected internal void InitializeNewPrivacyItem(
    string strTitle,
    string strUrl,
    Object groupType,
    string strGroup,
    Privacy privacyLevel
)

Parameters

Remarks

For more information about privacy policies, see Privacy Policies and Writing Policy-Compliant Code. For a code example about how to set the privacy policy of a property, see How to: Set Privacy Policies for User Profile Properties.

See Also

Reference

PrivacyItem Class

PrivacyItem Members

Microsoft.Office.Server.UserProfiles Namespace