Método ItemById

Extracts a member from the LogFileCollection collection using a system-defined, unique identifier.

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

Sintaxe

public LogFile ItemById(
    int id
)

Parâmetros

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .LogFile
A LogFile object that has the specified ID value.