Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LogFile Constructor (Database, String)

LogFile Constructor (Database, String)

Initializes a new instance of the LogFile class for the specified database and that has the specified name.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public LogFile(
	Database database,
	string name
)

Parameters

database
Type: Microsoft.SqlServer.Management.Smo.Database
A Database object value that specifies the database for which the transaction log is stored in the log file.
name
Type: String
A String value that specifies the name of the log file.

Community Additions

ADD
Show:
© 2015 Microsoft