FilestreamShareName-Eigenschaft
Ruft den Namen der Windows-Freigabe ab, auf der FILESTREAM-Daten für die SQL Server-Instanz gespeichert werden.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property FilestreamShareName As String
Get
'Usage
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
Eigenschaftswert
Typ: System. . :: . .String
Ein String-Objekt, das den Namen der Windows-Freigabe angibt, auf der FILESTREAM-Daten für die SQL Server-Instanz gespeichert werden.
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 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
Siehe auch