Freigeben über


FilestreamLevel-Eigenschaft

Ruft die für die SQL Server-Instanz angegebene FILESTREAM-Zugriffsebene ab.

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

Syntax

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

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .FileStreamEffectiveLevel
Ein StreamAccessLevel-Objekt, das angibt, welche Streamingzugriffstypen auf der SQL Server-Instanz aktiviert sind.

Hinweise

File streaming can be enabled for Transact-SQL and Win32 file access. For more information, see Übersicht über FILESTREAM.

Beispiele

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