다음을 통해 공유


FilestreamLevel 속성

SQL Server 인스턴스에 지정된 FILESTREAM 액세스 수준을 가져옵니다.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property FilestreamLevel As FileStreamEffectiveLevel
    Get
‘사용 방법
Dim instance As Server
Dim value As FileStreamEffectiveLevel

value = instance.FilestreamLevel
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public FileStreamEffectiveLevel FilestreamLevel { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property FileStreamEffectiveLevel FilestreamLevel {
    FileStreamEffectiveLevel get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member FilestreamLevel : FileStreamEffectiveLevel
function get FilestreamLevel () : FileStreamEffectiveLevel

속성 값

유형: Microsoft.SqlServer.Management.Smo. . :: . .FileStreamEffectiveLevel
SQL Server 인스턴스에서 사용되고 있는 스트리밍 액세스 유형을 지정하는 StreamAccessLevel 개체입니다.

주의

File streaming can be enabled for Transact-SQL and Win32 file access. For more information, see FILESTREAM 개요.

C#

Server srv = new Server("(local)");
Console.WriteLine("The file stream access level is: " + srv.FileStreamLevel.ToString());

PowerShell

$srv = new-Object Microsoft.SqlServer.Management.Smo.Server("(local)")
Write-Host "The file stream access level is:" $srv.FileStreamLevel