다음을 통해 공유


FilestreamShareName 속성

SQL Server 인스턴스에서 FILESTREAM 데이터가 저장되는 Windows 공유 이름을 가져옵니다.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property FilestreamShareName As String
    Get
‘사용 방법
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

속성 값

유형: System. . :: . .String
SQL Server 인스턴스에서 FILESTREAM 데이터가 저장되는 Windows 공유 이름을 지정하는 String 개체입니다.

주의

File streaming can be enabled for Transact-SQL and Win32 file access. For more information, see FILESTREAM 개요.

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