Server.FilestreamLevel Property

 

Applies To: SQL Server 2016 Preview

Gets the level of FILESTREAM access specified on the instance of SQL Server.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public FileStreamEffectiveLevel FilestreamLevel { get; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
property FileStreamEffectiveLevel FilestreamLevel {
    FileStreamEffectiveLevel get();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member FilestreamLevel : FileStreamEffectiveLevel with get
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>
Public ReadOnly Property FilestreamLevel As FileStreamEffectiveLevel

Property Value

Type: Microsoft.SqlServer.Management.Smo.FileStreamEffectiveLevel

A T:Microsoft.SqlServer.Managmement.Smo.StreamAccessLevel object that specifies what types of streaming access are enabled on the instance of SQL Server.

Remarks

File streaming can be enabled for Transact-SQL and Win32 file access. For more information, see .Unable to find linked topic '70582161-9b4a-483d-8dd0-57c29534c80b'.

Examples

Legacy Code Example

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

See Also

Server Class
Microsoft.SqlServer.Management.Smo Namespace
Using Collections

Unable to find linked topic '776ac273-bbe5-45e2-8bc8-a6f2b9cac03a'.

Return to top