DataFile.IsOffline Property
SQL Server 2012
Gets the Boolean property value that specifies whether the data file is offline or not.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)