PrivacyItem.GetPrivacyPolicy 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
'Declaração
Protected Friend Function GetPrivacyPolicy ( _
policyId As Guid _
) As PrivacyPolicyItem
'Uso
Dim policyId As Guid
Dim returnValue As PrivacyPolicyItem
returnValue = Me.GetPrivacyPolicy(policyId)
protected internal PrivacyPolicyItem GetPrivacyPolicy(
Guid policyId
)
Parâmetros
- policyId
Type: System.Guid
Valor retornado
Type: Microsoft.Office.Server.UserProfiles.PrivacyPolicyItem
Comentários
Para obter mais informações sobre políticas de privacidade, consulte Privacy Policies and Writing Policy-Compliant Code. Para um exemplo sobre como definir a política de privacidade de uma propriedade de código, consulte How to: Set Privacy Policies for User Profile Properties.