SharePoint 2010 - Enabling ans setting RBS Provider through C# RRS feed

  • Question

  • Hi

    I have been using the FILESTREAM provider from Microsoft from quite long time for BLOB externalization from SharePoint. 

    But the installation and activation process is tedious. So was trying to automate the activation process. 

    While do that i found an article mentioning the following steps can only be performed from PowerShell only.

    $cdb = Get-SPContentDatabase  “WSS_Content_NEW
    $rbss = $cdb.RemoteBlobStorageSettings

    Link: http://technet.microsoft.com/en-us/library/ee748631.aspx

    I tried doing this through C# but it did not work.


    the above command executes without error but the provider is not set.

    Does any one know why these command do not work with C#?

    Is there any work around for this. 

    Thanks in advance.

    Jayesh Nathwani

    Friday, September 14, 2012 2:52 PM


  • Hi Jayesh,

    Please refer this article http://reality-tech.com/2011/12/22/rbs-external-provider-invalid-reference/


    Satyam MCITP, MCPD

    • Marked as answer by Lhan Han Friday, September 21, 2012 9:12 AM
    Monday, September 17, 2012 8:25 AM