다음을 통해 공유


FilestreamAccessLevel 속성

FILESTREAM 액세스 수준 구성 옵션을 설정하는 ConfigProperty 개체를 가져옵니다.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public ReadOnly Property FilestreamAccessLevel As ConfigProperty
    Get
‘사용 방법
Dim instance As Configuration
Dim value As ConfigProperty

value = instance.FilestreamAccessLevel
public ConfigProperty FilestreamAccessLevel { get; }
public:
property ConfigProperty^ FilestreamAccessLevel {
    ConfigProperty^ get ();
}
member FilestreamAccessLevel : ConfigProperty
function get FilestreamAccessLevel () : ConfigProperty

속성 값

유형: Microsoft.SqlServer.Management.Smo. . :: . .ConfigProperty
FILESTREAM 액세스 수준 구성 옵션의 설정을 지정하는 ConfigProperty 개체입니다.

주의

The FilestreamAccessLevel property sets the FILESTREAM access level configuration option

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}\n", 
                cfgProperty.DisplayName,
                cfgProperty.ConfigValue);
        }
    }
}