LogFile.FileName プロパティ

ログ ファイルのファイル名を取得または設定します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property FileName As String 
    Get 
    Set
'使用
Dim instance As LogFile 
Dim value As String 

value = instance.FileName

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

プロパティ値

型: System.String
ログ ファイルのファイル名を示す String 値です。

使用例

ファイルとファイル グループを使用したデータの格納

関連項目

参照

LogFile クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

CREATE DATABASE (Transact-SQL)