SPPolicyCollection.Add(String, String) SPPolicyCollection.Add(String, String) SPPolicyCollection.Add(String, String) SPPolicyCollection.Add(String, String) Method

Definition

public:
 Microsoft::SharePoint::Administration::SPPolicy ^ Add(System::String ^ userName, System::String ^ displayName);
public Microsoft.SharePoint.Administration.SPPolicy Add (string userName, string displayName);
member this.Add : string * string -> Microsoft.SharePoint.Administration.SPPolicy
Public Function Add (userName As String, displayName As String) As SPPolicy

Parameters

displayName
String String String String

Returns

Applies to