다음을 통해 공유


FileName 속성

Gets or sets the data file name.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property FileName As String
    Get
    Set
‘사용 방법
Dim instance As DataFile
Dim value As String

value = instance.FileName

instance.FileName = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string FileName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ FileName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member FileName : string with get, set
function get FileName () : String
function set FileName (value : String)

속성 값

형식: System. . :: . .String
A String value that specifies the name of the data file.