FilePath プロパティ
監査の種類がファイルである場合に、監査ファイルが格納されるフォルダの場所を取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute> _
Public Property FilePath As String
Get
Set
'使用
Dim instance As Audit
Dim value As String
value = instance.FilePath
instance.FilePath = value
[SfcPropertyAttribute]
public string FilePath { get; set; }
[SfcPropertyAttribute]
public:
property String^ FilePath {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute>]
member FilePath : string with get, set
function get FilePath () : String
function set FilePath (value : String)
プロパティ値
型: System. . :: . .String
監査ログ情報の記録先のファイルのパスを指定する String 値。
説明
監査の記録先の種類は、AuditDestinationType()()()() プロパティを使用して設定できます。