Compartir a través de


Server.FilestreamLevel Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property FilestreamLevel As FileStreamEffectiveLevel 
    Get
'Uso
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

Valor de la propiedad

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

Comentarios

File streaming can be enabled for Transact-SQL and Win32 file access. For more information, see Información general de FILESTREAM.

Ejemplos

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

Vea también

Referencia

Server Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Usar colecciones

Administrar servidores