CSMongo.Commands.MongoDatabaseCommands.GetAssertInfo C# (CSharp) Method

GetAssertInfo() public static method

Returns assert info for the database ??
public static GetAssertInfo ( MongoDatabase database ) : MethodResult
database MongoDatabase
return CSMongo.Results.MethodResult
        public static MethodResult GetAssertInfo(MongoDatabase database)
        {
            CommandResponse result = MongoDatabaseCommands.RunCommand(database, new { assertinfo = Mongo.DefaultAdminDatabase });
            return new MethodResult(result.GetDefaultResponse());
        }