TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Server.FilestreamShareName Property

 

Gets the Windows share name where FILESTREAM data is stored on the instance of SQL Server.

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

[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member FilestreamShareName : string with get

Property Value

Type: System.String

A String object that specifies the Windows share name where FILESTREAM data is stored on the instance of SQL Server.

File streaming can be enabled for Transact-SQL and Win32 file access. For more information, see Filestream Overview.

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
Return to top
Show:
© 2016 Microsoft