Compartir a través de


Server.FilestreamShareName Propiedad

Gets the Windows share name where FILESTREAM data is stored 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 FilestreamShareName As String 
    Get
'Uso
Dim instance As Server 
Dim value As String 

value = instance.FilestreamShareName
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string FilestreamShareName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ FilestreamShareName {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member FilestreamShareName : string
function get FilestreamShareName () : String

Valor de la propiedad

Tipo: System.String
A String object that specifies the Windows share name where FILESTREAM data is stored 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 share name that is storing filestream data is: " + srv.FileStreamShareName.ToString());

PowerShell

$srv = new-Object Microsoft.SqlServer.Management.Smo.Server("(local)")
Write-Host "The share name that is storing filestream data is:" $srv.FileStreamShareName

Vea también

Referencia

Server Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Usar colecciones

Administrar servidores