Condividi tramite


Proprietà FilestreamLevel

Ottiene il livello di accesso FILESTREAM specificato nell'istanza di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property FilestreamLevel As FileStreamEffectiveLevel
    Get
'Utilizzo
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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .FileStreamEffectiveLevel
Oggetto StreamAccessLevel che specifica quali tipi di accesso tramite flusso sono abilitati nell'istanza di SQL Server.

Osservazioni

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

Esempi

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