Configuration.FilestreamAccessLevel Configuration.FilestreamAccessLevel Configuration.FilestreamAccessLevel Property

Definition

Gets the ConfigProperty object that sets the FILESTREAM access level configuration option.

public:
 property Microsoft::SqlServer::Management::Smo::ConfigProperty ^ FilestreamAccessLevel { Microsoft::SqlServer::Management::Smo::ConfigProperty ^ get(); };
public Microsoft.SqlServer.Management.Smo.ConfigProperty FilestreamAccessLevel { get; }
Public ReadOnly Property FilestreamAccessLevel As ConfigProperty
Property Value

A ConfigProperty object that specifies the settings for the FILESTREAM access level configuration option.

Examples

The following example displays the currently configured FILESTREAM access level for the local instance of SQL Server.

Power Shell

$dbServer = new-Object Microsoft.SqlServer.Management.Smo.Server("(local)")  
$configProperty = $dbServer.Configuration.FilestreamAccessLevel  
Write-Host $configProperty.DisplayName " = " $configProperty.ConfigValue  

C#

using System;  
using System.Text;  
using Microsoft.SqlServer.Management.Smo;  

namespace SmoConfigurationProperty  
{  
    class Program  
    {  
        static void Main(string[] args)  
        {  
            Server server = new Server("(local)");   
            ConfigProperty cfgProperty =   
                server.Configuration.FilestreamAccessLevel;  

            Console.WriteLine("{0} = {1}
", cfgProperty.DisplayName, cfgProperty.ConfigValue); } } }

Remarks

The FilestreamAccessLevel property sets the FILESTREAM access level configuration option

Applies to