Ejemplo n.º 1
0
 /// <summary>
 ///  Set WriteSecurity on a SPList.
 ///  This method does not call SPList.Update(). Your code should handle this.
 /// </summary>
 /// <param name="list">The list.</param>
 /// <param name="writeSecurityOptions">The Write Security option</param>
 public void SetWriteSecurity(SPList list, WriteSecurityOptions writeSecurityOptions)
 {
     list.WriteSecurity = (int)writeSecurityOptions;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///  Set WriteSecurity on a SPList.
 ///  This method does not call SPList.Update(). Your code should handle this.
 /// </summary>
 /// <param name="list">The list.</param>
 /// <param name="writeSecurityOptions">The Write Security option</param>
 public void SetWriteSecurity(SPList list, WriteSecurityOptions writeSecurityOptions)
 {
     list.WriteSecurity = (int)writeSecurityOptions;
 }